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:
Pavel Yurke
2014-03-24 13:03:59 +00:00
parent afc5b6240a
commit 0ee790b33b

View File

@@ -5,7 +5,8 @@ var sortBy = args["sortBy"];
var sortAsc = args["dir"] != "desc";
// 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
model.peoplelist = peopleCollection;