mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-556, REPO-1534: List People - OrderBy not working with "id"
- fixed orderBy issue, now people list can be ordered by "id" key - added more tests for list people endpoint git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -94,7 +94,7 @@ public class PeopleImpl implements People
|
||||
Map<String, QName> aMap = new HashMap<>(3);
|
||||
aMap.put(PARAM_FIRST_NAME, ContentModel.PROP_FIRSTNAME);
|
||||
aMap.put(PARAM_LAST_NAME, ContentModel.PROP_LASTNAME);
|
||||
aMap.put(PARAM_USER_NAME, ContentModel.PROP_USERNAME);
|
||||
aMap.put(PARAM_ID, ContentModel.PROP_USERNAME);
|
||||
sort_params_to_qnames = Collections.unmodifiableMap(aMap);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user