diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2026-03-17 11:36:22 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2026-03-17 11:36:22 +0000 |
| commit | 4d92123a481ab924e63ba31f5ad4b3898e2caaf3 (patch) | |
| tree | 1a505c632946cca2dc1f3656c90735ef6b52d664 | |
| parent | 2ea8136d02484d60f70adee3e3270a6f023a811e (diff) | |
admin/courses/export_csv: use the same room format as the view, really fixes #6365
Closes #6365
Merge request studip/studip!4832
(cherry picked from commit ee78e07f006b7f80d80745f5fb0c6ce3eb73962e)
24328ec3 admin/courses/export_csv: use the same room format as the view
Co-authored-by: Moritz Strohm <strohm@data-quest.de>
| -rw-r--r-- | app/controllers/admin/courses.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin/courses.php b/app/controllers/admin/courses.php index da535e6..8f28ab4 100644 --- a/app/controllers/admin/courses.php +++ b/app/controllers/admin/courses.php @@ -1004,7 +1004,8 @@ class Admin_CoursesController extends AuthenticatedController } if (in_array('room_time', $filter_config)) { - $row['room_time'] = (string) $course->getAllDatesInSemester($this->semester); + $course_date_list = $course->getAllDatesInSemester($this->semester); + $row['room_time'] = implode("\n", $course_date_list->toStringArray(false, true)); } if (in_array('requests', $filter_config)) { |
