Respect filters for all links in the group overviews

refs #3586
This commit is contained in:
Eric Lippmann 2018-11-15 16:36:44 +01:00
parent 9f15bda698
commit b4bae84ca4
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ if (! $this->compact): ?>
<th> <th>
<?= $this->qlink( <?= $this->qlink(
$hostGroup->hostgroup_alias, $hostGroup->hostgroup_alias,
'monitoring/list/hosts', $this->url('monitoring/list/hosts')->addFilter($this->filterEditor->getFilter()),
array('hostgroup_name' => $hostGroup->hostgroup_name, 'sort' => 'host_severity'), array('hostgroup_name' => $hostGroup->hostgroup_name, 'sort' => 'host_severity'),
array('title' => sprintf( array('title' => sprintf(
$this->translate('List all hosts in the group "%s"'), $this->translate('List all hosts in the group "%s"'),
@ -140,7 +140,7 @@ if (! $this->compact): ?>
<td class="count-col"> <td class="count-col">
<?= $this->qlink( <?= $this->qlink(
$hostGroup->services_total, $hostGroup->services_total,
'monitoring/list/services', $this->url('monitoring/list/services')->addFilter($this->filterEditor->getFilter()),
array('hostgroup_name' => $hostGroup->hostgroup_name, 'sort' => 'service_severity'), array('hostgroup_name' => $hostGroup->hostgroup_name, 'sort' => 'service_severity'),
array('title' => sprintf( array('title' => sprintf(
$this->translate('List all services of all hosts in host group "%s"'), $this->translate('List all services of all hosts in host group "%s"'),

View File

@ -38,7 +38,7 @@ if (! $this->compact): ?>
<th> <th>
<?= $this->qlink( <?= $this->qlink(
$serviceGroup->servicegroup_alias, $serviceGroup->servicegroup_alias,
'monitoring/list/services', $this->url('monitoring/list/services')->addFilter($this->filterEditor->getFilter()),
array('servicegroup_name' => $serviceGroup->servicegroup_name, 'sort' => 'service_severity'), array('servicegroup_name' => $serviceGroup->servicegroup_name, 'sort' => 'service_severity'),
array('title' => sprintf($this->translate('List all services in the group "%s"'), $serviceGroup->servicegroup_alias)) array('title' => sprintf($this->translate('List all services in the group "%s"'), $serviceGroup->servicegroup_alias))
) ?> ) ?>