mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
monitoring: Apply restriction on services before calling filterQuery which also handles format
refs #9965
This commit is contained in:
parent
67bbc3ed6a
commit
4aa0af5dca
@ -159,8 +159,8 @@ class Monitoring_ListController extends Controller
|
|||||||
'max_check_attempts' => 'service_max_check_attempts'
|
'max_check_attempts' => 'service_max_check_attempts'
|
||||||
), $this->addColumns());
|
), $this->addColumns());
|
||||||
$query = $this->backend->select()->from('servicestatus', $columns);
|
$query = $this->backend->select()->from('servicestatus', $columns);
|
||||||
$this->filterQuery($query);
|
|
||||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||||
|
$this->filterQuery($query);
|
||||||
$this->view->services = $query;
|
$this->view->services = $query;
|
||||||
|
|
||||||
$this->setupLimitControl();
|
$this->setupLimitControl();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user