Merge pull request #4018 from Icinga/fix/invalid-filter-after-scheduling-multiple-checks-4001
hosts/services: Remove `*_active_checks_enabled` from a redirect's filter
This commit is contained in:
commit
d2596025ea
|
@ -76,7 +76,9 @@ class HostsController extends Controller
|
|||
$form
|
||||
->setBackend($this->backend)
|
||||
->setObjects($this->hostList)
|
||||
->setRedirectUrl(Url::fromPath('monitoring/hosts/show')->setParams($this->params))
|
||||
->setRedirectUrl(Url::fromPath('monitoring/hosts/show')->setParams(
|
||||
$this->params->without('host_active_checks_enabled')
|
||||
))
|
||||
->handleRequest();
|
||||
|
||||
$this->view->form = $form;
|
||||
|
|
|
@ -82,7 +82,9 @@ class ServicesController extends Controller
|
|||
$form
|
||||
->setBackend($this->backend)
|
||||
->setObjects($this->serviceList)
|
||||
->setRedirectUrl(Url::fromPath('monitoring/services/show')->setParams($this->params))
|
||||
->setRedirectUrl(Url::fromPath('monitoring/services/show')->setParams(
|
||||
$this->params->without('service_active_checks_enabled')
|
||||
))
|
||||
->handleRequest();
|
||||
|
||||
$this->view->form = $form;
|
||||
|
|
Loading…
Reference in New Issue