Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1723

Improve performance for 2.6 sites when pre-fetching the list of users

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.1.2
    • Participants add-on
    • MOODLE_31_STABLE

      When we check if the user can see the list of participants, in old Moodle versions we use the moodle_enrol_get_enrolled_users that don't support pagination

      In large courses with lots of users this is very very slow, we should try to use the additional parameters of that function to filter the resulset because that what really interest us is to receive an exception if we cannot see users:

      get_enrolled_users($courseid, $withcapability = null, $groupid = null, $onlyactive = false) {

            dpalou Dani Palou
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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