Hi I try to achieve a list with all assets and folders/subfolders as shown in the DAM app.
I noticed when using AssetQuery the result is not in "natural" order. My exceptions is that when no "Ordering" clause is given, the result should be the same as in the workspace. I'm using the following AssetQuery: Builder builder = new AssetQuery.Builder(); AssetQuery assetQuery = builder.fromPath(folderPath).includeFolders().build(); respectDocumentOrder is set in the workspace.xml After deleting the index the "natural" order is returned, but after moving a asset, the asset shows up at the end of the resultlist. Is there an "order by lastModified" automatically added to the query? Any help highly welcome. Best -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=e58a5395-852f-4a53-80d2-036f5cac5efb ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------