From 832b8fe8b9e1eba070e7f32e1a3e58eabe2c1edd Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 8 Nov 2021 17:05:23 +0100 Subject: [PATCH] Controller: Only keep preserved params for the searchbar action fixes #431 --- library/Icingadb/Web/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icingadb/Web/Controller.php b/library/Icingadb/Web/Controller.php index 26fa950c..316cc63d 100644 --- a/library/Icingadb/Web/Controller.php +++ b/library/Icingadb/Web/Controller.php @@ -167,7 +167,7 @@ class Controller extends CompatController $searchBar = new SearchBar(); $searchBar->setFilter($filter); - $searchBar->setAction($requestUrl->getAbsoluteUrl()); + $searchBar->setAction($redirectUrl->getAbsoluteUrl()); $searchBar->setIdProtector([$this->getRequest(), 'protectId']); if (method_exists($this, 'completeAction')) {