Skip to content

Commit

Permalink
SAK-32730 Roster is not sorting properly for teaching assistants of m…
Browse files Browse the repository at this point in the history
…ore than one section (sakaiproject#4640)
  • Loading branch information
juanjmerono authored and ern committed Jul 28, 2017
1 parent b883739 commit d22035d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,8 @@ private List<RosterMember> filterMembers(Site site, String currentUserId, List<R
filtered.addAll(filterHiddenMembers(unfiltered, currentUserId, site.getId(), group));
}
}
// The group loop is shuffling members, sort the list again
Collections.sort(filtered,memberComparator);
} else if (null != site.getGroup(groupId)) {
// get all members of requested groupId if current user is
// member
Expand Down

0 comments on commit d22035d

Please sign in to comment.