From f281cf079553ccd9b43dcbd6ea49c1881a2a63a2 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 1 Feb 2019 14:02:52 +0100 Subject: [PATCH] HostsController: Already hide ignored hosts to reschedule in the preview list refs #3665 --- .../monitoring/application/controllers/HostsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/application/controllers/HostsController.php b/modules/monitoring/application/controllers/HostsController.php index 5cd067343..ed7f8797d 100644 --- a/modules/monitoring/application/controllers/HostsController.php +++ b/modules/monitoring/application/controllers/HostsController.php @@ -120,7 +120,9 @@ class HostsController extends Controller $hostStates = $this->hostList->getStateSummary(); if ($activeChecksEnabled) { - $this->view->rescheduleAllLink = Url::fromRequest()->setPath('monitoring/hosts/reschedule-check'); + $this->view->rescheduleAllLink = Url::fromRequest() + ->setPath('monitoring/hosts/reschedule-check') + ->addParams(['host_active_checks_enabled' => true]); } $this->view->downtimeAllLink = Url::fromRequest()->setPath('monitoring/hosts/schedule-downtime');