Link only to services' downtimes from multi-service detail view

fixes #10170

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
This commit is contained in:
Alexander A. Klimov 2015-12-22 14:44:04 +01:00 committed by Eric Lippmann
parent 77a4cfb431
commit 0c107af1f8
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class ServicesController extends Controller
$this->view->showDowntimesLink = Url::fromPath('monitoring/downtimes/show')
->setQueryString(
$this->serviceList->getObjectsInDowntime()
->objectsFilter()->toQueryString()
->objectsFilter()->andFilter(Filter::where('object_type', 'service'))->toQueryString()
);
$this->view->commentsLink = Url::fromRequest()
->setPath('monitoring/list/comments');