monitoring: Apply restrictions before filtering for multiple hosts

refs #9574
This commit is contained in:
Eric Lippmann 2015-08-04 15:28:51 +02:00
parent 7403c67893
commit 10e50842b2
1 changed files with 1 additions and 1 deletions

View File

@ -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',