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

User selectors: add an 'exact match only' option

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • MDL-78312-master
    • Hide
      • Login as admin/teacher.
      • Create two users with similar email( example@gmail.com and example2@gmail.com)
      • Go to Site administration -> Check system permissions
      • Tick on the "Exact matches only" option
      • When inputting "example@gmail.com" in the search field

      Expected: The result should only return one user with example@gmail.com

      Show
      Login as admin/teacher. Create two users with similar email( example@gmail.com and example2@gmail.com) Go to Site administration -> Check system permissions Tick on the "Exact matches only" option When inputting "example@gmail.com" in the search field Expected:  The result should only return one user with example@gmail.com

    Description

      Moodle has a user-selector widget, which is used in a number of places. (e.g. https://qa.moodledemo.net/admin/roles/check.php?contextid=25).

      If you have a very large Moodle site, with millions of users, then the perfromance of that gets very, very bad. (See also MDL-77742).

      We think that adding an "Exact match only" option would improve performance.

      Also, it will improve usability, because if you are searching for user xyz123, then it is unhelpful of that also finds users xyz1231, xyz1232, xyz1233, ....

      Attachments

        Issue Links

          Activity

            People

              vuvanhieu143 Hieu Vu
              timhunt Tim Hunt
              Tim Hunt Tim Hunt
              Ilya Tregubov Ilya Tregubov
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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