monitoring: Apply restriction on services before calling filterQuery which also handles format

refs #9965
This commit is contained in:
Eric Lippmann 2015-08-21 11:15:32 +02:00
parent 67bbc3ed6a
commit 4aa0af5dca
1 changed files with 1 additions and 1 deletions

View File

@ -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();