Skip to content
Permalink
Browse files

MDL-20607 - adding firstname as secondary sort criteria

  • Loading branch information...
arborrow committed Jan 5, 2011
1 parent 44ddbc6 commit eddf533b0a16b512951c96589292d056188d3f27
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/accesslib.php
@@ -5011,7 +5011,7 @@ function sort_by_roleassignment_authority($users, $context, $roles=array(), $sor
* @param bool gethidden - whether to fetch hidden enrolments too
* @return array()
*/
function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC', $gethidden=true, $group='', $limitfrom='', $limitnum='') {
function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC, u.firstname ASC', $gethidden=true, $group='', $limitfrom='', $limitnum='') {
global $CFG;
if (empty($fields)) {

0 comments on commit eddf533

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.