Skip to content
Snippets Groups Projects
Commit fbd7d1e6 authored by Philipp Schüttlöffel's avatar Philipp Schüttlöffel Committed by Jan-Hendrik Willms
Browse files

Resolve "Semesterwechsel funktioniert nicht"

Closes #3844

Merge request studip/studip!2747
parent c891034e
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ class Search_CoursesController extends AuthenticatedController ...@@ -32,7 +32,7 @@ class Search_CoursesController extends AuthenticatedController
if (!in_array($this->show_as, ['list', 'table'])) { if (!in_array($this->show_as, ['list', 'table'])) {
$this->show_as = 'list'; $this->show_as = 'list';
} }
$this->semester = Request::option('semester', Semester::findCurrent()->id); $this->semester = Request::option('semester', Semester::findDefault()->id);
$this->semClass = Request::int('semclass', 0); $this->semClass = Request::int('semclass', 0);
$this->search = Request::get('search', ''); $this->search = Request::get('search', '');
} }
......
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