Skip to content
Snippets Groups Projects
Commit c1c453e5 authored by Tobias Baden's avatar Tobias Baden
Browse files

Sorted Courses by shortname

- Updated Version Number and Release
parent cde4c425
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,9 @@ function local_hsh_boostnavigation_extend_navigation(global_navigation $navigati
// Alle Kurse abfragen, in die die Person eingeschrieben ist
$courses = enrol_get_my_courses('*', '');
if (!empty($courses)) {
usort($courses, function($a, $b){
return strcasecmp($a->shortname, $b->shortname);
});
foreach ($courses as $course) {
$semester = getSemesterNodeHsH($customnav, $course, $semesterList,$semesterKeys);
$semester->showinflatnavigation = true;
......
......@@ -25,8 +25,8 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'local_hsh_boostnavigation';
$plugin->version = 2018091300;
$plugin->release = 'v1.1-r5';
$plugin->version = 2018091600;
$plugin->release = 'v1.1-r6';
$plugin->requires = 2016120500;
#$plugin->maturity = MATURITY_STABLE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment