Host- and Service multiselection: Ensure dashboard compliance

refs #7876
This commit is contained in:
Johannes Meyer 2015-04-20 13:03:13 +02:00
parent 54a370ca22
commit 4b43fbe527
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class Monitoring_HostsController extends Controller
public function init() public function init()
{ {
$hostList = new HostList($this->backend); $hostList = new HostList($this->backend);
$hostList->setFilter(Filter::fromQueryString((string) $this->params)); $hostList->setFilter(Filter::fromQueryString((string) $this->params->without('view')));
$this->hostList = $hostList; $this->hostList = $hostList;
} }

View File

@ -27,7 +27,9 @@ class Monitoring_ServicesController extends Controller
public function init() public function init()
{ {
$serviceList = new ServiceList($this->backend); $serviceList = new ServiceList($this->backend);
$serviceList->setFilter(Filter::fromQueryString((string) $this->params->without('service_problem', 'service_handled'))); $serviceList->setFilter(Filter::fromQueryString(
(string) $this->params->without('service_problem', 'service_handled', 'view')
));
$this->serviceList = $serviceList; $this->serviceList = $serviceList;
} }