-
New Feature
-
Resolution: Duplicate
-
Minor
-
None
-
2.2.4
-
MOODLE_22_STABLE
Can we please have the ability to change the $courses_limit variable in blocks/course_overview/block_course_overview.php from the front-end administration?
The PHP seems to suggest that if mycoursesperpage is set, then that is how many courses should be shown on this page, but it doesn't seem to work? Moodle 2.2.4
// limits the number of courses showing up
$courses_limit = 21;
// FIXME: this should be a block setting, rather than a global setting
if (isset($CFG->mycoursesperpage))
Changing the $courses_limit = 21; line to a higher value 'fixes' the problem, but would be good to have this working from the site admin.