hosts/services: Remove `*_active_checks_enabled` from a redirect's filter
Actually only a quick fix but who cares..
This commit is contained in:
parent
cc08f7e11a
commit
a6d2590666
|
@ -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