HostsController: Already hide ignored hosts to reschedule in the preview list

refs #3665
This commit is contained in:
Johannes Meyer 2019-02-01 14:02:52 +01:00
parent ac50992aab
commit f281cf0795

View File

@ -120,7 +120,9 @@ class HostsController extends Controller
$hostStates = $this->hostList->getStateSummary(); $hostStates = $this->hostList->getStateSummary();
if ($activeChecksEnabled) { 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'); $this->view->downtimeAllLink = Url::fromRequest()->setPath('monitoring/hosts/schedule-downtime');