Client-side sorting of nodes.

The sorting happens after obtaining the individual nodes, as this is done
in parallel in unpredictable order.
This commit is contained in:
2016-05-18 14:54:49 +02:00
parent 597ba6de1c
commit 079689a532
2 changed files with 24 additions and 1 deletions

View File

@@ -272,7 +272,6 @@ async def get_nodes(project_uuid: str = None, parent_node_uuid: str = None,
'properties.files': 1,
'properties.content_type': 1, 'picture': 1},
'where': where,
'sort': 'properties.order',
'embed': ['parent']})
return children['_items']