diff options
| author | Michaela Brückner <brueckner@data-quest.de> | 2025-12-12 10:10:00 +0100 |
|---|---|---|
| committer | Michaela Brückner <brueckner@data-quest.de> | 2025-12-12 10:10:00 +0100 |
| commit | 69aa9b5657c7bef5d1713ede3cc4c83ff0fccb9c (patch) | |
| tree | 7f62e0b5284912460dacce67cac3a7e542ca295e /app/controllers/course | |
| parent | 71340b1e4d82b9fe623acbfca7f6754d998ff4d2 (diff) | |
open news content boxes if in course or institute context, re #3561tic-3561
Diffstat (limited to 'app/controllers/course')
| -rw-r--r-- | app/controllers/course/overview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/course/overview.php b/app/controllers/course/overview.php index 4313cdc..c467ccf 100644 --- a/app/controllers/course/overview.php +++ b/app/controllers/course/overview.php @@ -49,7 +49,7 @@ class Course_OverviewController extends AuthenticatedController } // Fetch news - $response = $this->relayWithRedirect('news/display/' . $this->course_id); + $response = $this->relayWithRedirect('news/display/' . $this->course_id . '/true'); $this->news = $response->body; // Fetch votes @@ -109,7 +109,7 @@ class Course_OverviewController extends AuthenticatedController } $connections = StudygroupCourse::countBySql( - "`studygroup_id` = :cid OR `course_id` = :cid", + "`studygroup_id` = :cid OR `course_id` = :cid", [ 'cid' => $this->course_id ] |
