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

Need to be able to search for user in 'Enrolled Users'

    Details

    • Testing Instructions:
      Hide

      1. In the administration menu, choose Site administration / Users / Accounts / Upload users.
      2. Upload the attached testusers.csv file.
      3. Create a new course with a name and short name of your choosing; leave other settings default.
      4. Enrol all of the 'Another body' users with Student role. (This is a bit tedious, at least the way I did it you just have to click 'Enrol' 101 times...)
      5. The other users are called 'Doe', 'Dewar', or 'Anne Other'. Enrol these with Teacher role.
      (Phew, there are finally 2 pages on the list.)
      6. Close the enrol popup and wait for the page to reload.

      EXPECTED (same as before): The main heading shows 106 enrolled users. There are 2 pages with the first page displayed.
      EXPECTED (new): At the top of the page a box with a faint grey background (same grey as table rows) contains a number of filter options.

      7. Experiment with resizing the browser window to different widths.

      EXPECTED: The filter box should appear alongside the 'Enrol users' button when there is room. When there is less room it will drop down to the line below.

      8. Type '26' in the search box and press Return or click Filter.

      EXPECTED: List should now show 'Another Body 26' only. There are no paging controls. Heading at the top says '1 enrolled users' [sic]

      9. Click Reset.

      EXPECTED: Page should reload as before with no filter options selected.

      10. Under 'Enrolment methods', select 'Guest access' and click Filter.

      EXPECTED: No users are now shown. (Note: This dropdown is the only one which was there in the previous interface.)

      11. Change 'Enrolment methods' back to 'All', select 'Teacher' under the 'Role' column, and click Filter.

      EXPECTED: Only the 5 teachers are now displayed.

      12. Type 'a' in the search box, select 'Manual' in the method box, and select 'Student' in the role box, then click Filter.

      EXPECTED: There are now 101 users who match all these criteria, which is enough to enable paging.

      13. Go to page 2 by clicking the '2' or 'Next' link (these are the same).

      EXPECTED: Page 2 shows only one result (because there are only 101 who matched the conditions).
      EXPECTED: The form fields in the filter box still contain the values they were set to before (a, manual, student).

      Show
      1. In the administration menu, choose Site administration / Users / Accounts / Upload users. 2. Upload the attached testusers.csv file. 3. Create a new course with a name and short name of your choosing; leave other settings default. 4. Enrol all of the 'Another body' users with Student role. (This is a bit tedious, at least the way I did it you just have to click 'Enrol' 101 times...) 5. The other users are called 'Doe', 'Dewar', or 'Anne Other'. Enrol these with Teacher role. (Phew, there are finally 2 pages on the list.) 6. Close the enrol popup and wait for the page to reload. EXPECTED (same as before): The main heading shows 106 enrolled users. There are 2 pages with the first page displayed. EXPECTED (new): At the top of the page a box with a faint grey background (same grey as table rows) contains a number of filter options. 7. Experiment with resizing the browser window to different widths. EXPECTED: The filter box should appear alongside the 'Enrol users' button when there is room. When there is less room it will drop down to the line below. 8. Type '26' in the search box and press Return or click Filter. EXPECTED: List should now show 'Another Body 26' only. There are no paging controls. Heading at the top says '1 enrolled users' [sic] 9. Click Reset. EXPECTED: Page should reload as before with no filter options selected. 10. Under 'Enrolment methods', select 'Guest access' and click Filter. EXPECTED: No users are now shown. (Note: This dropdown is the only one which was there in the previous interface.) 11. Change 'Enrolment methods' back to 'All', select 'Teacher' under the 'Role' column, and click Filter. EXPECTED: Only the 5 teachers are now displayed. 12. Type 'a' in the search box, select 'Manual' in the method box, and select 'Student' in the role box, then click Filter. EXPECTED: There are now 101 users who match all these criteria, which is enough to enable paging. 13. Go to page 2 by clicking the '2' or 'Next' link (these are the same). EXPECTED: Page 2 shows only one result (because there are only 101 who matched the conditions). EXPECTED: The form fields in the filter box still contain the values they were set to before (a, manual, student).
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      We have some courses with potentially thousands of students, and to locate a user in "Enrolled Users" is currently very cumbersome and time consuming, having to sort by firstname/lastname etc.

      Could we please have a search box added, this would be of great help with many hundreds of users here.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  12 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13