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

Search for users has max of 100 results

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisite:

      1. Site with 10 users
      2. Log in as admin
      3. Update maxusersperpage to 2 (Site administration ► Users ► Permissions ► User policies)

      Test user selector in webservice

      1. Create external webservice (Site administration ► Plugins ► Web services ► External services) with "Authorised users only" checked.
      2. Click on "Authorised users" on external webservice page
      3. Make suer you see "Too many users to show" warning
      4. Change maxusersperpage to 100
      5. Go back to "Authorised users" page and make sure you see all users.

      Test manual enrolment (without JS)

      1. Go to course and go to enrolled users page (Course 1 ► Users ► Enrolled users)
      2. Click "Enrol users" and make sure you can see all users.
      3. Change maxusersperpage to 2 and you should see "Too many users to show" warning

      Test cohort

      1. Create cohort (Site administration ► Users ► Accounts ► Cohorts)
      2. Click "Assign" icon (Site administration ► Users ► Accounts ► Cohorts ► Assign)
      3. Make sure you see see "Too many users to show" warning
      4. Change maxusersperpage to 100
      5. Go back to "Assign" page and make sure you see all users.

      Test assigning system role

      1. Go to "Assign system role" (Site administration ► Users ► Permissions ► Assign system roles)
      2. Click "course creator"
      3. Make sure you can see all users.
      4. Change maxusersperpage to 2
      5. Go back to assign role page and you should see "Too many users to show" warning

      Test Groups

      1. Go to course and enrol 10 users.
      2. Click group (Course 1 ► Users ► Groups)
      3. Select group (if exists or create one) and click add/remove users (Course 1 ► Participants ► Groups ► Add/remove users)
      4. you should see "Too many users to show" warning
      5. Change maxusersperpage to 100
      6. Go back to add/remove users and you should see all users.

      Test forum

      1. Go to course forum and disable js
      2. Select Show/edit current subscribers
      3. You should be able to see all potential users
      4. Change maxusersperpage to 2
      5. Go back to Show/edit current subscribers page and you should see "Too many users to show" warning
      Show
      Prerequisite: Site with 10 users Log in as admin Update maxusersperpage to 2 (Site administration ► Users ► Permissions ► User policies) Test user selector in webservice Create external webservice (Site administration ► Plugins ► Web services ► External services) with "Authorised users only" checked. Click on "Authorised users" on external webservice page Make suer you see "Too many users to show" warning Change maxusersperpage to 100 Go back to "Authorised users" page and make sure you see all users. Test manual enrolment (without JS) Go to course and go to enrolled users page (Course 1 ► Users ► Enrolled users) Click "Enrol users" and make sure you can see all users. Change maxusersperpage to 2 and you should see "Too many users to show" warning Test cohort Create cohort (Site administration ► Users ► Accounts ► Cohorts) Click "Assign" icon (Site administration ► Users ► Accounts ► Cohorts ► Assign) Make sure you see see "Too many users to show" warning Change maxusersperpage to 100 Go back to "Assign" page and make sure you see all users. Test assigning system role Go to "Assign system role" (Site administration ► Users ► Permissions ► Assign system roles) Click "course creator" Make sure you can see all users. Change maxusersperpage to 2 Go back to assign role page and you should see "Too many users to show" warning Test Groups Go to course and enrol 10 users. Click group (Course 1 ► Users ► Groups) Select group (if exists or create one) and click add/remove users (Course 1 ► Participants ► Groups ► Add/remove users) you should see "Too many users to show" warning Change maxusersperpage to 100 Go back to add/remove users and you should see all users. Test forum Go to course forum and disable js Select Show/edit current subscribers You should be able to see all potential users Change maxusersperpage to 2 Go back to Show/edit current subscribers page and you should see "Too many users to show" warning
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-mdl-36395-m

      Description

      When you try to search for users to add them to a group or course, you often don't get a result. Instead, Moodle says 'too many search results'.

      I want to be able to see all the search results and add all the search results to a group or course.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                14 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

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