mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged DEV to HEAD (4.3.0)
65440: ACE-1150: Sorting the list of user does not work - people.get.js was corrected to take in account the sortBy and sortAsc paramenters. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@65463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -5,7 +5,8 @@ var sortBy = args["sortBy"];
|
|||||||
var sortAsc = args["dir"] != "desc";
|
var sortAsc = args["dir"] != "desc";
|
||||||
|
|
||||||
// Get the collection of people
|
// Get the collection of people
|
||||||
var peopleCollection = people.getPeople(filter, maxResults != null ? parseInt(maxResults) : 0, sortBy, sortAsc);
|
var paging = utils.createPaging(maxResults != null ? parseInt(maxResults) : 0, -1);
|
||||||
|
var peopleCollection = people.getPeoplePaging(filter, paging, sortBy, sortAsc);
|
||||||
|
|
||||||
// Pass the queried sites to the template
|
// Pass the queried sites to the template
|
||||||
model.peoplelist = peopleCollection;
|
model.peoplelist = peopleCollection;
|
Reference in New Issue
Block a user