Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63316

Give back the default sort behaviour (lastname) in the participant table

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: