Skip to content
Snippets Groups Projects
Commit 1f9c6c39 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "Falsche Sortierung in der Veranstaltungsverwaltung bei den Grunddaten (für Admins)"

Closes #1175

Merge request studip/studip!701
parent 422b4b19
No related branches found
No related tags found
No related merge requests found
...@@ -392,7 +392,7 @@ class AdminCourseFilter ...@@ -392,7 +392,7 @@ class AdminCourseFilter
if ($count_courses && $count_courses <= $this->max_show_courses) { if ($count_courses && $count_courses <= $this->max_show_courses) {
$settings = $this->settings; $settings = $this->settings;
$this->settings['query']['select'] = []; $this->settings['query']['select'] = [];
$this->settings['query']['orderby'] = Config::get()->IMPORTANT_SEMNUMBER ? 'seminare.veranstaltungsnummer, seminare.name' : 'seminare.name'; $this->settings['query']['orderby'] = 'seminare.name';
$ret = $this->getCourses(false); $ret = $this->getCourses(false);
$this->settings = $settings; $this->settings = $settings;
return $ret; return $ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment