aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-05-03 10:00:38 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2023-05-03 10:00:38 +0000
commit2df806ab549ac7b7522fb3443e654d83b7095843 (patch)
tree4fbae0a32b0c7c0e3b3a1a8cd2fe0d87076d6f2d /app
parent19ea9438427ffac51d63d42f13b61df807f55b07 (diff)
complete separate regular and responsive view settings for my courses, fixes #2071
Closes #2071 Merge request studip/studip!1557
Diffstat (limited to 'app')
-rw-r--r--app/controllers/my_courses.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php
index c0dbeb3..996ad87 100644
--- a/app/controllers/my_courses.php
+++ b/app/controllers/my_courses.php
@@ -793,9 +793,7 @@ class MyCoursesController extends AuthenticatedController
'allow_dozent_visibility' => Config::get()->ALLOW_DOZENT_VISIBILITY,
'open_groups' => array_values($GLOBALS['user']->cfg->MY_COURSES_OPEN_GROUPS),
'sem_number' => Config::get()->IMPORTANT_SEMNUMBER,
- 'display_type' => $GLOBALS['user']->cfg->MY_COURSES_TILED_DISPLAY ? 'tiles' : 'tables',
- 'responsive_type' => $GLOBALS['user']->cfg->MY_COURSES_TILED_DISPLAY_RESPONSIVE ? 'tiles' : 'tables',
- 'navigation_show_only_new' => $GLOBALS['user']->cfg->MY_COURSES_SHOW_NEW_ICONS_ONLY,
+ 'view_settings' => $GLOBALS['user']->cfg->MY_COURSES_VIEW_SETTINGS,
'group_by' => $this->getGroupField(),
],
];