Skip to content

Commit 49c75e8

Browse files
committed
hostgroup: Preserve group filter in bulk processing details
1 parent dd243a8 commit 49c75e8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

application/controllers/HostgroupController.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ public function indexAction(): Generator
118118
$this->addControl($limitControl);
119119
$this->addControl($viewModeSwitcher);
120120
$this->addControl($searchBar);
121-
$continueWith = $this->createContinueWith(Links::hostsDetails(), $searchBar);
121+
$continueWith = $this->createContinueWith(
122+
Links::hostsDetails()
123+
->setFilter(Filter::equal('hostgroup.name', $hostgroup->name)),
124+
$searchBar
125+
);
122126

123127
$this->addContent($hostList);
124128

0 commit comments

Comments
 (0)