diff --git a/application/controllers/HostgroupController.php b/application/controllers/HostgroupController.php index e48adca20..e452ca5cf 100644 --- a/application/controllers/HostgroupController.php +++ b/application/controllers/HostgroupController.php @@ -156,6 +156,10 @@ public function searchEditorAction(): void 'name' ]); + if ($editor->getSuggestionUrl()) { + $editor->getSuggestionUrl()->addParams(['name' => $this->hostgroupName]); + } + $this->getDocument()->add($editor); $this->setTitle(t('Adjust Filter')); }