Apply the filter for host names when 'Hosts from filter' option is selected

This commit is contained in:
raviks789 2022-09-02 11:50:27 +02:00 committed by Johannes Meyer
parent ce812c01bf
commit b24600893a

View file

@ -90,6 +90,7 @@ trait EnumList
$names = $this->backend
->select()
->from('hostStatus', ['hostname' => 'host_name'])
->applyFilter(Filter::fromQueryString($filter))
->applyFilter(MonitoringRestrictions::getRestriction('monitoring/filter/objects'))
->order('host_name')
->getQuery()