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

Bulk user actions: Users in list should be sorted by lastname

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3, 3.3.5, 3.4.2
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide

      (difficulty: "easy", requires a Moodle instance with tens of users to have something meaningful to sort)

      1. Visit the bulk actions page in the admin section.
      2. Check that the users are ordered according to what 'users_order_by_sql()' returns for the users ordering.
      3. Apply some filters (only 'contains', 'isequalto', 'startswith' and 'endswith' would make sense) to the text fields like 'fullname', 'firstname', etc., plus those text fields defined in the 'showuseridentity' admin setting.
      4. Ensure that the users ordering respects the filter and behaves according to what PhpDoc says for 'users_order_by_sql()' and it's search parameter.
      Show
      (difficulty: "easy", requires a Moodle instance with tens of users to have something meaningful to sort) Visit the bulk actions page in the admin section. Check that the users are ordered according to what 'users_order_by_sql()' returns for the users ordering. Apply some filters (only 'contains', 'isequalto', 'startswith' and 'endswith' would make sense) to the text fields like 'fullname', 'firstname', etc., plus those text fields defined in the 'showuseridentity' admin setting. Ensure that the users ordering respects the filter and behaves according to what PhpDoc says for 'users_order_by_sql()' and it's search parameter.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-35869-master_bulk_user_sorting

      Description

      Bulk user actions: Users in list should be sorted by lastname, not by firstname, which hardly makes sense.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vtos Vitaly Potenko
              Reporter:
              rezeau Joseph Rézeau
              Peer reviewer:
              Ferran Recio Ferran Recio
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              16 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h