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

Enrol users - AJAX search requires Return key press, not obvious

XMLWordPrintable

    • MOODLE_22_STABLE
    • MOODLE_24_STABLE
    • MDL-30139_master
    • Easy
    • Hide

      1. Go to the 'enrol users' page on a course. There must be at least one user on the system who is not enrolled on the course.
      2. Wait for page to load then click the 'Enrol users' button.
      3. Popup dialog appears showing users.
      4. Verify that the search box contains a button next to it. Check that you can search users by clicking on the button or pressing the enter key (which was the previous behaviour).

      Test this on all supported browsers to ensure the button does not break the pop-up layout.

      Show
      1. Go to the 'enrol users' page on a course. There must be at least one user on the system who is not enrolled on the course. 2. Wait for page to load then click the 'Enrol users' button. 3. Popup dialog appears showing users. 4. Verify that the search box contains a button next to it. Check that you can search users by clicking on the button or pressing the enter key (which was the previous behaviour). Test this on all supported browsers to ensure the button does not break the pop-up layout.

      On my developer system when using the current master branch, if I go to the enrol users page and bring up the popup, typing in the search box has no immediate effect. For example, if there is only one user in the results, and I type some characters that are not in their name, the user does not disappear.

      If you press Return the search takes effect, but there isn't any indication that this is required and it confused both Tim and I for a bit...

      To solve this problem, I would suggest adding a 'Search' button next to the text box. This means novice users will click the button and expert users will understand that the Return key is also available.

            markn Mark Nelson
            quen Sam Marshall
            Rossiani Wijaya Rossiani Wijaya
            Sam Hemelryk Sam Hemelryk
            Adrian Greeve Adrian Greeve
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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