monitoring/list/hosts: Apply restrictions to host service problem summary

This commit is contained in:
Johannes Meyer 2022-02-07 17:05:19 +01:00
parent 77987feaaf
commit 3166d112f1
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ class ListController extends Controller
$this->applyRestriction('monitoring/filter/objects', $stats); $this->applyRestriction('monitoring/filter/objects', $stats);
$summary = $hosts->getQuery()->queryServiceProblemSummary(); $summary = $hosts->getQuery()->queryServiceProblemSummary();
$this->applyRestriction('monitoring/filter/objects', $summary);
$this->view->hosts = $hosts; $this->view->hosts = $hosts;
$this->view->stats = $stats; $this->view->stats = $stats;