ListController: Restrict the contactgroups view

refs #9009
This commit is contained in:
Johannes Meyer 2015-06-15 15:08:25 +02:00
parent 548aec4233
commit 53e6d4cadc
1 changed files with 3 additions and 1 deletions

View File

@ -388,8 +388,9 @@ class Monitoring_ListController extends Controller
'contact_name',
'contact_alias',
'contact_email',
'contact_pager',
'contact_pager'
));
$this->applyRestriction('monitoring/filter/objects', $query);
$this->filterQuery($query);
$this->setupSortControl(array(
@ -409,6 +410,7 @@ class Monitoring_ListController extends Controller
}
$groupData[$c->contactgroup_name]['contacts'][] = $c;
}
// TODO: Find a better naming
$this->view->groupData = $groupData;
}