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

Decrease number of core_course_get_contents calls in the section page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login in the app in Mobile 34.
      2. Open the development tools and clear the Network tab.
      3. Open the MM Dev Testing course. In the Dev tools, check that you don't see any call to core_course_get_contents with a single moduleid and you see 2 WS calls instead: one for resource and one for url.
      Show
      Login in the app in Mobile 34. Open the development tools and clear the Network tab. Open the MM Dev Testing course. In the Dev tools, check that you don't see any call to core_course_get_contents with a single moduleid and you see 2 WS calls instead: one for resource and one for url.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Sprint:
      Moodle Mobile 3.5.2

      Description

      Right now we do 1 WS call for each mod_url and another WS call for some mod_resource.

      The WS allows passing a "modname", we should try to use it to decrease the number of WS calls.

        Attachments

          Activity

            People

            • Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18