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

moodle_enrol_get_users_courses should return number of participants, moodle_user_get_users_by_courseid should limit the fields to be returned

XMLWordPrintable

    • MOODLE_21_STABLE
    • MOODLE_22_STABLE
    • dev_MDL-29476_ws_participants_master
    • Hide

      You will have to download web service client for testing: https://github.com/moodlehq/sample-ws-clients

      1. Request moodle_enrol_get_users_courses webservice, there will be a field called enrolledusercount which indicates the number of enrolled users in this course
      2. Request moodle_user_get_users_by_courseid with userfields option name , the option value will be the list of userfields which separated by comma, the return value will be the fields specified in your reuqest plus userid and user's fullname

      Show
      You will have to download web service client for testing: https://github.com/moodlehq/sample-ws-clients 1. Request moodle_enrol_get_users_courses webservice, there will be a field called enrolledusercount which indicates the number of enrolled users in this course 2. Request moodle_user_get_users_by_courseid with userfields option name , the option value will be the list of userfields which separated by comma, the return value will be the fields specified in your reuqest plus userid and user's fullname

      moodle_enrol_get_users_courses should return number of participants, moodle_user_get_users_by_courseid should limit the fields to be returned

      This is intended to solve the performance issue related to MDL-29347

            dongsheng Dongsheng Cai
            dongsheng Dongsheng Cai
            Jérôme Mouneyrac Jérôme Mouneyrac
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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