Merge pull request #3623 from Icinga/fix/some-links-in-group-overviews-dont-respect-filters

Respect filters for all links in the group overviews
This commit is contained in:
Eric Lippmann 2018-11-19 17:26:05 +01:00 committed by GitHub
commit 0242c440ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ if (! $this->compact): ?>
<th>
<?= $this->qlink(
$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('title' => sprintf(
$this->translate('List all hosts in the group "%s"'),
@ -140,7 +140,7 @@ if (! $this->compact): ?>
<td class="count-col">
<?= $this->qlink(
$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('title' => sprintf(
$this->translate('List all services of all hosts in host group "%s"'),

View File

@ -38,7 +38,7 @@ if (! $this->compact): ?>
<th>
<?= $this->qlink(
$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('title' => sprintf($this->translate('List all services in the group "%s"'), $serviceGroup->servicegroup_alias))
) ?>