Skip to content

Commit

Permalink
Hostgroup: Add missing name param for search-editor's suggestionUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Oct 15, 2024
1 parent 4806939 commit c2d23a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/controllers/HostgroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}
Expand Down

0 comments on commit c2d23a6

Please sign in to comment.