mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1058 / REPO-1244: REST API - list Sites - orderBy
- tweak the default (as agreed with GC) - update automated unit test (and also refactor to make it re-runnable and to consistently use create site api) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -683,7 +683,7 @@ public class SitesImpl implements Sites
|
||||
else
|
||||
{
|
||||
// default sort order
|
||||
sortProps.add(new Pair<>(ContentModel.PROP_NAME, Boolean.TRUE));
|
||||
sortProps.add(new Pair<>(ContentModel.PROP_TITLE, Boolean.TRUE));
|
||||
}
|
||||
|
||||
final PagingResults<SiteInfo> pagingResult = siteService.listSites(null, sortProps, pagingRequest);
|
||||
|
Reference in New Issue
Block a user