-
Bug
-
Resolution: Fixed
-
Minor
-
3.5, 3.5.1, 3.5.5, 3.6.2, 3.7.2
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
-
Hello,
On the new course Participant-page in Moodle 3.5;
https://moodle.moodle/user/index.php?id=XXXX
when you use "enrol users"-button and type a part of a participant lastname to "select users" search-field and wait, you will get an en error "too many users (>100) to show" if you have more then 100 user accounts in Moodle that has the same lastname.
But on the same Moodle-site if you navigate to Participants -> Users -> Enrolled users;
https://moodle.moodle/enrol/manual/manage.php?enrolid=XXXX
and type the same part of the lastname to the search pane on the right, you can see all the matching participants available to choose from in the right pane.
Why doesn't the new Participant-page use the same logic and show us all the matching names?
This leads to an situtation if you have more than 100 people in Moodle with the same last name that you cannot add any of them to the course at all with this method since it allways shows the error even if you type in the full last name.
I think Ajax user selector should use the same setting $CFG->maxusersperpage as the traditional manual enrolment form, please see:
https://tracker.moodle.org/browse/MDL-60874
Also Moodle system setting "Maximum users per page | maxusersperpage" doesn't affect the new course Participant-page search-field listing, it only affects the "manual enrolments" page.