mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
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_current_check_attempt',
|
||||||
'host_max_check_attempts'
|
'host_max_check_attempts'
|
||||||
), $this->addColumns()));
|
), $this->addColumns()));
|
||||||
$this->filterQuery($query);
|
|
||||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||||
|
$this->filterQuery($query);
|
||||||
$this->view->hosts = $query;
|
$this->view->hosts = $query;
|
||||||
$stats = $this->backend->select()->from('hoststatussummary', array(
|
$stats = $this->backend->select()->from('hoststatussummary', array(
|
||||||
'hosts_total',
|
'hosts_total',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user