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()
|
||||
{
|
||||
$hostList = new HostList($this->backend);
|
||||
$hostList->setFilter(Filter::fromQueryString((string) $this->params));
|
||||
$this->applyRestriction('monitoring/filter/objects', $hostList);
|
||||
$hostList->addFilter(Filter::fromQueryString((string) $this->params));
|
||||
$this->hostList = $hostList;
|
||||
$this->getTabs()->add(
|
||||
'show',
|
||||
|
|
Loading…
Reference in New Issue