monitoring: Apply restriction on hosts before calling filterQuery which also handles format
refs #9965
This commit is contained in:
parent
fc28088dc0
commit
67bbc3ed6a
|
@ -73,8 +73,8 @@ class Monitoring_ListController extends Controller
|
|||
'host_current_check_attempt',
|
||||
'host_max_check_attempts'
|
||||
), $this->addColumns()));
|
||||
$this->filterQuery($query);
|
||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||
$this->filterQuery($query);
|
||||
$this->view->hosts = $query;
|
||||
$stats = $this->backend->select()->from('hoststatussummary', array(
|
||||
'hosts_total',
|
||||
|
|
Loading…
Reference in New Issue