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

Search list incorrectly shows no results after selecting a user

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 3.4
    • None
    • Enrolments
    • MOODLE_34_STABLE

    Description

      In the new enrol users control, if I search and see a list of users, then select one of them, I would expect the search results to continue to show the other users (or at worst some message saying I had to search again). What actually happens is that the search results disappear and a message saying "No suggestions" is shown.

      This appears to happen only when the search matches on email - when matching on name it works as expected.

      So, to reproduce:

      1. Create ten users: Person One (user1@example.com) etc
      2. Go into participants in a course and click "enrol users"
      3. Search for example.com
      4. Select one of the users
      5. The search results are replaced with a "no suggestions" label

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maherne Michael Aherne
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: