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

Small performance win by calling filter_preload_activities($this->get_modinfo());

XMLWordPrintable

      On a course with no activity descriptions but filters enabled on content and headings, the filters are not preloaded for all the activities in a course, because the call to
      filter_preload_activities($this->get_modinfo());
      exists only in get_formatted_content() - not in get_formatted_name() (in modinfolib.php)
      This results in 1 db query per activity.

            damyon Damyon Wiese
            damyon Damyon Wiese
            Marina Glancy Marina Glancy
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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