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

Let the administrator configure which user filters are shown by default

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Test unchanged user filter settings
        1. Login as admin
        2. Go to Site administration > Users > "User management" settings page
          1. Verify that in the "Default user filters" setting, only the "User full name" option is checked
        3. Go to Site administration > Users > Accounts > Browse list of users
          1. Verify that you see the "User full name" filter without clicking "Show more"
          2. Verify that you do not see any other filter without clicking "Show more"
          3. Click "Show more"
          4. Verify that you see a bunch of other filters now
        4. Go to Site administration > Users > Accounts > Bulk user actions
          1. Verify that you see the "User full name" filter without clicking "Show more"
          2. Verify that you do not see any other filter without clicking "Show more"
          3. Click "Show more"
          4. Verify that you see a bunch of other filters now
      2. Test changed user filter settings
        1. Login as admin
        2. Go to Site administration > Users > "User management" settings page
          1. In the "Default user filters" setting, enable the "User full name" option and the "Username" option and the "Email adress" option
          2. Save the settings page.
        3. Go to Site administration > Users > Accounts > Browse list of users
          1. Verify that you see the "User full name" filter without clicking "Show more"
          2. Verify that you see the "Username" filter without clicking "Show more"
          3. Verify that you see the "Email adress" filter without clicking "Show more"
          4. Verify that you do not see any other filter without clicking "Show more"
          5. Click "Show more"
          6. Verify that you see a bunch of other filters now
        4. Go to Site administration > Users > Accounts > Bulk user actions
          1. Verify that you see the "User full name" filter without clicking "Show more"
          2. Verify that you see the "Username" filter without clicking "Show more"
          3. Verify that you see the "Email adress" filter without clicking "Show more"
          4. Verify that you do not see any other filter without clicking "Show more"
          5. Click "Show more"
          6. Verify that you see a bunch of other filters now
      3. Test fallback user filter settings
        1. Login as admin
        2. Go to Site administration > Users > "User management" settings page
          1. In the "Default user filters" setting, disable all options
          2. Save the settings page.
        3. Go to Site administration > Users > Accounts > Browse list of users
          1. Verify that you see the "User full name" filter without clicking "Show more"
          2. Verify that you do not see any other filter without clicking "Show more"
          3. Click "Show more"
          4. Verify that you see a bunch of other filters now
        4. Go to Site administration > Users > Accounts > Bulk user actions
          1. Verify that you see the "User full name" filter without clicking "Show more"
          2. Verify that you do not see any other filter without clicking "Show more"
          3. Click "Show more"
          4. Verify that you see a bunch of other filters now
      Show
      Test unchanged user filter settings Login as admin Go to Site administration > Users > "User management" settings page Verify that in the "Default user filters" setting, only the "User full name" option is checked Go to Site administration > Users > Accounts > Browse list of users Verify that you see the "User full name" filter without clicking "Show more" Verify that you do not see any other filter without clicking "Show more" Click "Show more" Verify that you see a bunch of other filters now Go to Site administration > Users > Accounts > Bulk user actions Verify that you see the "User full name" filter without clicking "Show more" Verify that you do not see any other filter without clicking "Show more" Click "Show more" Verify that you see a bunch of other filters now Test changed user filter settings Login as admin Go to Site administration > Users > "User management" settings page In the "Default user filters" setting, enable the "User full name" option and the "Username" option and the "Email adress" option Save the settings page. Go to Site administration > Users > Accounts > Browse list of users Verify that you see the "User full name" filter without clicking "Show more" Verify that you see the "Username" filter without clicking "Show more" Verify that you see the "Email adress" filter without clicking "Show more" Verify that you do not see any other filter without clicking "Show more" Click "Show more" Verify that you see a bunch of other filters now Go to Site administration > Users > Accounts > Bulk user actions Verify that you see the "User full name" filter without clicking "Show more" Verify that you see the "Username" filter without clicking "Show more" Verify that you see the "Email adress" filter without clicking "Show more" Verify that you do not see any other filter without clicking "Show more" Click "Show more" Verify that you see a bunch of other filters now Test fallback user filter settings Login as admin Go to Site administration > Users > "User management" settings page In the "Default user filters" setting, disable all options Save the settings page. Go to Site administration > Users > Accounts > Browse list of users Verify that you see the "User full name" filter without clicking "Show more" Verify that you do not see any other filter without clicking "Show more" Click "Show more" Verify that you see a bunch of other filters now Go to Site administration > Users > Accounts > Bulk user actions Verify that you see the "User full name" filter without clicking "Show more" Verify that you do not see any other filter without clicking "Show more" Click "Show more" Verify that you see a bunch of other filters now
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-66133-master

      Description

      As an admin, when going to "Users > Accounts > Browse list of users", I only get a "User full name" search box. To be able to search for other common user attributes like username or email adress, I always have to click "Show more" at the moment.

      To help me with my daily searches for users, I want to be able to configure which user filters are shown by default and which user filters are still hidden behind the "Show more" link.

        Attachments

        1. Administration__Users__Accounts__User_management.png
          Administration__Users__Accounts__User_management.png
          232 kB
        2. MDL-66133_01.png
          MDL-66133_01.png
          115 kB
        3. MDL-66133_02.png
          MDL-66133_02.png
          120 kB
        4. MDL-66133_03.png
          MDL-66133_03.png
          100 kB
        5. MDL-66133_04.png
          MDL-66133_04.png
          115 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 10 minutes
                  2h 10m