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

Allow sorting on additional name fields.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • Libraries
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • wip-MDL-46921-master
    • Hide

      Participants page

      1. Go to [Site administration ► Users ► Permissions ► User policies] and change the full name format (fullnamedisplay) setting to at least include one of the additional name fields (firstnamephonetic, lastnamephonetic, middlename, alternatename).
      2. Update some student names to have these additional name fields filled out.
      3. Go to the participants page of a course.
      4. Check that the table header has the enabled additional name fields present.
      5. Make sure that you can sort the names using these additional name fields.

      Administration user list

      1. Go to [Site administration ► Users ► Permissions ► User policies] and change the Alternative full name format (alternativefullnameformat) setting to at least include one of the additional name fields (firstnamephonetic, lastnamephonetic, middlename, alternatename).
      2. To to [Site administration ► Users ► Accounts ► Browse list of users].
      3. Check that the enabled alternative name is visible in the header.
      4. Also check that you can sort the users using these headings.

      Enrolment page

      1. Go to an enrolment page in a course [Administration ► Course administration ► Users ► Enrolled users].
      2. Check that the enabled alternative name is visible in the header.
      3. Also check that you can sort the users using these headings.

      Unit tests

      1. Run the following unit test: phpunit lib/tests/moodlelib_test.php and report back if there are any failures.

      Behat tests

      1. Run the following behat test: lib/tests/behat/table_sorting.feature and report back if there are any failures.
      Show
      Participants page Go to [Site administration ► Users ► Permissions ► User policies] and change the full name format (fullnamedisplay) setting to at least include one of the additional name fields (firstnamephonetic, lastnamephonetic, middlename, alternatename). Update some student names to have these additional name fields filled out. Go to the participants page of a course. Check that the table header has the enabled additional name fields present. Make sure that you can sort the names using these additional name fields. Administration user list Go to [Site administration ► Users ► Permissions ► User policies] and change the Alternative full name format (alternativefullnameformat) setting to at least include one of the additional name fields (firstnamephonetic, lastnamephonetic, middlename, alternatename). To to [Site administration ► Users ► Accounts ► Browse list of users] . Check that the enabled alternative name is visible in the header. Also check that you can sort the users using these headings. Enrolment page Go to an enrolment page in a course [Administration ► Course administration ► Users ► Enrolled users] . Check that the enabled alternative name is visible in the header. Also check that you can sort the users using these headings. Unit tests Run the following unit test: phpunit lib/tests/moodlelib_test.php and report back if there are any failures. Behat tests Run the following behat test: lib/tests/behat/table_sorting.feature and report back if there are any failures.
    • 20

      The sorting of tables can only be done on the users first name and surname. There should be a way to sort on the additional name fields (firstnamephonetic, lastnamephonetic, middlename, alternatename).

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Sam Hemelryk Sam Hemelryk
            Damyon Wiese Damyon Wiese
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.