monitoring: Apply restrictions before filtering for multiple services
refs #9574
This commit is contained in:
parent
10e50842b2
commit
cdd13bc389
|
@ -27,10 +27,10 @@ class Monitoring_ServicesController extends Controller
|
|||
public function init()
|
||||
{
|
||||
$serviceList = new ServiceList($this->backend);
|
||||
$serviceList->setFilter(Filter::fromQueryString(
|
||||
$this->applyRestriction('monitoring/filter/objects', $serviceList);
|
||||
$serviceList->addFilter(Filter::fromQueryString(
|
||||
(string) $this->params->without(array('service_problem', 'service_handled', 'view'))
|
||||
));
|
||||
$this->applyRestriction('monitoring/filter/objects', $serviceList);
|
||||
$this->serviceList = $serviceList;
|
||||
$this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/services');
|
||||
$this->getTabs()->add(
|
||||
|
|
Loading…
Reference in New Issue