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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      dev_MDL-29476_ws_participants_master

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/Dec/11