mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
Fix exception when following command links for multiple selected hosts
This commit is contained in:
parent
1d22d0c989
commit
ea8c497539
@ -46,7 +46,7 @@ class Monitoring_HostsController extends Controller
|
|||||||
'icon' => 'host'
|
'icon' => 'host'
|
||||||
)
|
)
|
||||||
)->extend(new DashboardAction())->activate('show');
|
)->extend(new DashboardAction())->activate('show');
|
||||||
|
|
||||||
$this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/hosts')->setQueryString($filterString);
|
$this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/hosts')->setQueryString($filterString);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,11 +78,6 @@ class Monitoring_HostsController extends Controller
|
|||||||
$this->view->form = $form;
|
$this->view->form = $form;
|
||||||
$this->view->objects = $this->hostList;
|
$this->view->objects = $this->hostList;
|
||||||
$this->view->stats = $this->hostList->getStateSummary();
|
$this->view->stats = $this->hostList->getStateSummary();
|
||||||
$this->view->hostStatesPieChart = InlinePie::createFromStateSummary(
|
|
||||||
$this->view->stats,
|
|
||||||
$this->translate('Host State'),
|
|
||||||
InlinePie::$colorsHostStatesHandledUnhandled
|
|
||||||
);
|
|
||||||
$this->_helper->viewRenderer('partials/command/objects-command-form', null, true);
|
$this->_helper->viewRenderer('partials/command/objects-command-form', null, true);
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user