mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
monitoring: Apply restrictions before filtering for multiple hosts
refs #9574
This commit is contained in:
parent
7403c67893
commit
10e50842b2
@ -27,8 +27,8 @@ class Monitoring_HostsController extends Controller
|
|||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$hostList = new HostList($this->backend);
|
$hostList = new HostList($this->backend);
|
||||||
$hostList->setFilter(Filter::fromQueryString((string) $this->params));
|
|
||||||
$this->applyRestriction('monitoring/filter/objects', $hostList);
|
$this->applyRestriction('monitoring/filter/objects', $hostList);
|
||||||
|
$hostList->addFilter(Filter::fromQueryString((string) $this->params));
|
||||||
$this->hostList = $hostList;
|
$this->hostList = $hostList;
|
||||||
$this->getTabs()->add(
|
$this->getTabs()->add(
|
||||||
'show',
|
'show',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user