From f478c916e39915c8365ecc02d6eed2e1eac7df5d Mon Sep 17 00:00:00 2001
From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de>
Date: Fri, 16 Sep 2022 18:54:44 +0000
Subject: [PATCH] fix broken redirect, fixes #1549

Closes #1549

Merge request studip/studip!1015
---
 app/controllers/course/forum/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/course/forum/index.php b/app/controllers/course/forum/index.php
index 1162dfc11ef..f62a6c15cef 100644
--- a/app/controllers/course/forum/index.php
+++ b/app/controllers/course/forum/index.php
@@ -286,7 +286,7 @@ class Course_Forum_IndexController extends ForumController
     function search_action($page = null)
     {
         if (Request::submitted('reset-search')) {
-            $this->redirect('index');
+            $this->redirect('course/forum/index/index');
             return;
         }
 
-- 
GitLab