Skip to content

Commit

Permalink
SAK-31954 List not properly sorted filtering by role (sakaiproject#3612)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjmerono authored and buckett committed Nov 21, 2016
1 parent 09a7f33 commit e82cf1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ private List<RosterMember> getAndCacheSortedMembership(Site site, String groupId
String gId = group.getId();
Collections.sort((List<RosterMember>) cache.get(siteId + "#" + gId), memberComparator);
for (Role role : roles) {
Collections.sort((List<RosterMember>) cache.get(siteId + "#" + role.getId()), memberComparator);
Collections.sort((List<RosterMember>) cache.get(siteId + "#" + gId + "#" + role.getId()), memberComparator);
}
}
Expand Down

0 comments on commit e82cf1f

Please sign in to comment.