Skip to content

Commit

Permalink
RedundancygroupController: Fix that isChildrenTab apear in the brow…
Browse files Browse the repository at this point in the history
…ser url
  • Loading branch information
sukhwinder33445 committed Nov 19, 2024
1 parent e459865 commit b6ab15c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/controllers/RedundancygroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Check failure on line 189 in application/controllers/RedundancygroupController.php

View workflow job for this annotation

GitHub Actions / phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest

Parameter #2 $value of method Icinga\Web\UrlParams::set() expects string, true given.

Check failure on line 189 in application/controllers/RedundancygroupController.php

View workflow job for this annotation

GitHub Actions / phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest

Parameter #2 $value of method Icinga\Web\UrlParams::set() expects string, true given.

if ($searchBar->hasBeenSent() && ! $searchBar->isValid()) {
if ($searchBar->hasBeenSubmitted()) {
Expand Down

0 comments on commit b6ab15c

Please sign in to comment.