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

Clicking on scales link in a course for administrators is really slow (fix included)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Course
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Clicking on the scales link in a course for administrators is really slow. This is a result of Moodle trying to make all scales site-wide available for the administrators. This is not efficient or practical. We recommend to comment this code out:

      It doesn't make sense to click on the Scales link in a course and then get all the scales in the site. This is especially troublesome if you are running a big production site that has a lot of scales

      At around line# 429

      } else

      { // $scales_uses = site_scale_used($scale->id,$courses); }

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            chuang Wen Hao Chuang
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Oct/07