Skip to content
Snippets Groups Projects
Commit cb7224d6 authored by Rasmus Fuhse's avatar Rasmus Fuhse Committed by Jan-Hendrik Willms
Browse files

Resolve "Admin-Filter nach Lehrenden und Studiengangteilen werden nicht zurückgesetzt"

Closes #4018

Merge request studip/studip!2867
parent aef2b4af
No related branches found
No related tags found
No related merge requests found
...@@ -535,6 +535,10 @@ class Admin_CoursesController extends AuthenticatedController ...@@ -535,6 +535,10 @@ class Admin_CoursesController extends AuthenticatedController
if (isset($filters[$key])) { if (isset($filters[$key])) {
$config->store($field, $filters[$key]); $config->store($field, $filters[$key]);
} }
if (!$config->MY_INSTITUTES_DEFAULT) {
$config->delete('ADMIN_COURSES_TEACHERFILTER');
$config->delete('MY_COURSES_SELECTED_STGTEIL');
}
unset($filters[$key]); unset($filters[$key]);
} }
......
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