Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-20607 - adding firstname as secondary sort criteria

  • Loading branch information...
commit eddf533b0a16b512951c96589292d056188d3f27 1 parent 44ddbc6
Anthony Borrow, S.J. authored January 05, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/accesslib.php
2  lib/accesslib.php
@@ -5011,7 +5011,7 @@ function sort_by_roleassignment_authority($users, $context, $roles=array(), $sor
5011 5011
  * @param bool gethidden - whether to fetch hidden enrolments too
5012 5012
  * @return array()
5013 5013
  */
5014  
-function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC', $gethidden=true, $group='', $limitfrom='', $limitnum='') {
  5014
+function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC, u.firstname ASC', $gethidden=true, $group='', $limitfrom='', $limitnum='') {
5015 5015
     global $CFG;
5016 5016
 
5017 5017
     if (empty($fields)) {

0 notes on commit eddf533

Please sign in to comment.
Something went wrong with that request. Please try again.