Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5.2
-
Fix Version/s: 2.6
-
Component/s: Course
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE
-
Fixed Branches:MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-42020-master -
Pull Master Diff URL:
Description
While working on MDL-41942 I've noticed that some code in retrieving list of courses can be faster.
Examples:
1. If frontpage shows only categories tree, we call get_courses_count() without calling to get_courses() and this function alone is not efficient.
2. If the course list is already cached the course contacts are retrieved one-by-one.
Attachments
Issue Links
- Discovered while testing
-
MDL-42279 PHP warning in setuplib.php
-
- Open
-
-
MDL-42277 Warning $PAGE->context was not set in course/management.php
-
- Closed
-
- has been marked as being related by
-
MDL-42193 Improve coursecat::get_children() so it doesn't do an extra DB query if it has all the categories in cache
-
- Open
-
- is blocked by
-
MDL-41942 Courses in categories invisible
-
- Closed
-