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

Mnet remote enrolment page does not respect maxusersperpage

XMLWordPrintable

    • MOODLE_29_STABLE

      On our Moodle site with 629 users, when we go to Mnet > Remote enrollments client > Edit enrolments and then attempt to Edit enrolments for a particular remote course, the enrolments page that comes up (/mnet/service/enrol/course.php) says "Too many users (629) to show, please use the search" in the list of potential members. This is despite us having set maxusersperpage to 1000 under Users > Permissions > User Policies, which results in a full list of users being displayed on similar screens on other parts of the site, as expected.

      The fix seems to be to edit /mnet/service/enrol/locallib.php to change the two lines that read

      if ($potentialmemberscount > 100) {

      to be

      if ($potentialmemberscount > $this->maxusersperpage) {

      instead, to bring it into line with other parts of the codebase.

            Unassigned Unassigned
            mjr66 Mat Ridley
            Votes:
            0 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.