Skip to content
Browse files

MDL-20607 - adding firstname as secondary sort criteria

  • Loading branch information...
1 parent 44ddbc6 commit eddf533b0a16b512951c96589292d056188d3f27 @arborrow arborrow committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/accesslib.php
2  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.
Something went wrong with that request. Please try again.