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

Enrol users: Cannot search by username

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-71836-master
    • Hide
      1. Create a new user whose name is not their username, for example:

        First name: Neil
        Last name: Collins
        Username: colln1
        

      2. Set the showuseridentity option to include the username field. (This can be set under admin / Users / Permissions / User policies.)
      3. Open a coures and navigate to the Participants page
      4. Click "Enrol users"
      5. Search for the username "colln1"
        1. EXPECTED: The result popup should show the user.
      Show
      Create a new user whose name is not their username, for example: First name: Neil Last name: Collins Username: colln1 Set the showuseridentity option to include the username field. (This can be set under admin / Users / Permissions / User policies.) Open a coures and navigate to the Participants page Click "Enrol users" Search for the username " colln1 " EXPECTED: The result popup should show the user.

      This is a regression caused by MDL-45242.

      If you have the 'username' field enabled for the showuseridentity option, you can see that field on screens such as the participants list. But searching for that field does not work, i.e. if you search for something in the username of a potential user who could be enrolled, you will get no results. (Searching for all other selectable fields does work.)

            quen Sam Marshall
            quen Sam Marshall
            Katie Ransom Katie Ransom
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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