-
Bug
-
Resolution: Fixed
-
Minor
-
3.4.3, 3.4.4, 3.5, 3.5.1, 3.6.7, 3.7.3, 3.8
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
In Moodle 3.3, the participants/enrolled users table was default sorted by last name. In 3.4 and 3.5, it is default sorted by first name. This is a change in behavior, and due to the fact that people in Moodle (and in general) are usually sorted by last name, I think it can be considered a change in a negative direction.
The simplest fix is to replace the hard coded
$this->sortable(true, 'firstname'); |
with
$this->sortable(true, 'lastname'); |
on line 214 of user/classes/participants_table.php
Related to (but distinct from) MDL-58745
- has a non-specific relationship to
-
MDL-65614 Consistency in ordering of tables sorted by lastname
- Open
- has been marked as being related by
-
MDL-59436 Remove the columns from the participants page that are not in showuseridentity
- Closed
- will be (partly) resolved by
-
MDL-51265 Allow control of Sorting of users in Participants/Users page
- Closed