Skip to content

Commit

Permalink
MDL-58209 block_myoverview: sort by course full name
Browse files Browse the repository at this point in the history
Part of MDL-55611 epic.
  • Loading branch information
mdjnelson authored and Damyon Wiese committed Apr 3, 2017
1 parent 5688561 commit a7f9abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/myoverview/classes/output/main.php
Expand Up @@ -44,7 +44,7 @@ class main implements renderable, templatable {
* @return stdClass
*/
public function export_for_template(renderer_base $output) {
$courses = enrol_get_my_courses('*');
$courses = enrol_get_my_courses('*', 'fullname ASC');
$coursesprogress = [];

foreach ($courses as $course) {
Expand Down

0 comments on commit a7f9abc

Please sign in to comment.