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

Optimise how course fillters configuration is retrieved

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8.0
    • 3.7.2
    • Others
    • Hide

      This issue only needs to be tested in 1 device.

      1. Install the app in the device.
      2. Open the inspector/DevTools and go to the Network tab.
      3. Login in master site. Check that you see a request to core_filters_get_available_in_context with all the courses ids instead of a request per course. Please notice that you can see a single request with contextlevel=course and instanceid=1, this one is done to check which filters are enabled on the site.
      4. Now open the MM Dev Testing course. Check that you see a request to core_filters_get_available_in_context with all the blocks ids instead of a request per block.
      Show
      This issue only needs to be tested in 1 device. Install the app in the device. Open the inspector/DevTools and go to the Network tab. Login in master site. Check that you see a request to core_filters_get_available_in_context with all the courses ids instead of a request per course. Please notice that you can see a single request with contextlevel=course and instanceid=1, this one is done to check which filters are enabled on the site. Now open the MM Dev Testing course. Check that you see a request to core_filters_get_available_in_context with all the blocks ids instead of a request per block.
    • MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • Moodle App 3.8.0

      We should retrieve all the courses filter configuration in just one single request after retrieving all the courses the user is enrolled in.

      Right now, when you log-in into a site and go to the dashboard, there is one request per course to obtain the course filtesrs configuration. We should group all the requests into a single one (the WS supports handling multiple contexts) as it is done for activities within a course.

            dpalou Dani Palou
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Noel De Martin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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