Skip to content

Commit

Permalink
Hostgroup: Add missing setSuggestionUrl() call
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Oct 14, 2024
1 parent 4806939 commit 8ac2b11
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion application/controllers/HostgroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,14 @@ public function searchEditorAction(): void
SortControl::DEFAULT_SORT_PARAM,
ViewModeSwitcher::DEFAULT_VIEW_MODE_PARAM,
'name'
]);
])->setSuggestionUrl(Url::fromPath(
'icingadb/hostgroup/complete',
[
'name' => $this->hostgroupName,
'_disableLayout' => true,
'showCompact' => true
]
));

$this->getDocument()->add($editor);
$this->setTitle(t('Adjust Filter'));
Expand Down

0 comments on commit 8ac2b11

Please sign in to comment.