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

Select the minimum fields required to populate context in report columns

    • 1
    • WP Sprint 2025-I2.2 (Clones)

      As a follow-on to a past improvement at MDL-75119, ensure we aren't selecting more context data than we need in table reads

      e.g. here we are selecting {$tablealias}.contextid even though the value will be subsequently selected again by the context_helper class - there is also a potential problem due to the LEFT JOIN of the context table, that {$tablealias}.contextid may not actually exist any more, so tighten that up too

            pholden Paul Holden
            pholden Paul Holden
            Tasio Bertomeu Tasio Bertomeu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 12 minutes
                6h 12m

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