diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-08-12 09:32:16 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-08-12 09:32:16 +0000 |
| commit | a653ba90919b3a9633c1593a34b8611efe67b093 (patch) | |
| tree | 13f8fb918b88f85685fb992d3e5c58ab69b3e6b9 /app/controllers/module | |
| parent | c60f30a6308f18659a9a13e0eb0d5e3ebc043721 (diff) | |
jump to, open and mark module as selected after storing changes, fixes #4473
Closes #4473
Merge request studip/studip!3261
Diffstat (limited to 'app/controllers/module')
| -rw-r--r-- | app/controllers/module/module.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/module/module.php b/app/controllers/module/module.php index 854b045..10674d0 100644 --- a/app/controllers/module/module.php +++ b/app/controllers/module/module.php @@ -101,6 +101,7 @@ class Module_ModuleController extends MVVController $this->count = Modul::getCount($this->filter); $this->show_sidebar_search = true; $this->show_sidebar_filter = true; + $this->modul_id = Request::option('modul_id'); $this->setSidebar(); } @@ -323,7 +324,7 @@ class Module_ModuleController extends MVVController $success_message, htmlReady($this->modul->getDisplayName()) )); - $this->redirect($this->indexURL()); + $this->redirect($this->indexURL(['modul_id' => $this->modul->id]) . "#modul_{$this->modul->id}"); return; } } |
