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

Add a "Replace filter" option on the browse users page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • In a site with multiple users.
      • Go to Admin / Users / Accounts / Browse list of users
      • Add a filter for a surname. Hit "Add filter".
      • Add a filter for another surname. Hit "Add filter".
      • Cross check both filters are there.
      • Add a filter for a firstname, but this time hit "Replace filters"
      • Cross check only the firstname filter is there.
      • Verify that the different searches return the users in the site matching the active filters.
      Show
      In a site with multiple users. Go to Admin / Users / Accounts / Browse list of users Add a filter for a surname. Hit "Add filter". Add a filter for another surname. Hit "Add filter". Cross check both filters are there. Add a filter for a firstname, but this time hit "Replace filters" Cross check only the firstname filter is there. Verify that the different searches return the users in the site matching the active filters.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_311_STABLE, MOODLE_35_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull 3.11 Branch:
      MDL-42382-311
    • Pull Master Branch:
      MDL-42382-master

      Description

      On the browse users page, there is the Add filter option, which allows to add more filters to the existing one. I found it time consuming when searching for various users to filter by name and then reset filters in order to find another user. On my copy of Moodle (it worked in 1.9 for couple of years and now I ported it in 2.5), I added a "set filter" button, which clears the current filters before applying new ones.

        Attachments

        1. a.txt
          2 kB
        2. image-2020-11-26-10-20-46-314.png
          image-2020-11-26-10-20-46-314.png
          49 kB
        3. screenshot-1.png
          screenshot-1.png
          67 kB

          Issue Links

            Activity

              People

              Assignee:
              noeldemartin Noel De Martin
              Reporter:
              abautu Andrei Bautu
              Peer reviewer:
              Ferran Recio
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              29 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/May/21

                  Time Tracking

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