From 3567a406c719b2af76e1a586401477af6ed77672 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Tue, 19 Nov 2024 17:34:23 +0100 Subject: [PATCH] RedundancygroupController: Fix that `isChildrenTab` apear in the browser url --- application/controllers/RedundancygroupController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/RedundancygroupController.php b/application/controllers/RedundancygroupController.php index cd3107fa2..9e0c65fb0 100644 --- a/application/controllers/RedundancygroupController.php +++ b/application/controllers/RedundancygroupController.php @@ -185,7 +185,8 @@ public function childrenAction(): void ); $searchBar->getSuggestionUrl()->setParam('isChildrenTab'); - $searchBar->getEditorUrl()->setParam('isChildrenTab'); + $searchBar->getEditorUrl() + ->setParams((clone $searchBar->getEditorUrl()->getParams())->set('isChildrenTab', true)); if ($searchBar->hasBeenSent() && ! $searchBar->isValid()) { if ($searchBar->hasBeenSubmitted()) {