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

View File

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