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'
|
||||
), $this->addColumns());
|
||||
$query = $this->backend->select()->from('servicestatus', $columns);
|
||||
$this->filterQuery($query);
|
||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||
$this->filterQuery($query);
|
||||
$this->view->services = $query;
|
||||
|
||||
$this->setupLimitControl();
|
||||
|
|
Loading…
Reference in New Issue