Add sort by severity to the hostgroup links in the hostgroups overview

This commit is contained in:
Eric Lippmann 2017-05-04 14:03:57 +02:00
parent d56c7b308e
commit c36b2661b1
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ if (! $this->compact): ?>
<?= $this->qlink(
$hostGroup->hostgroup_alias,
'monitoring/list/hosts',
array('hostgroup_name' => $hostGroup->hostgroup_name),
array('hostgroup_name' => $hostGroup->hostgroup_name, 'sort' => 'host_severity'),
array('title' => sprintf(
$this->translate('List all hosts in the group "%s"'),
$hostGroup->hostgroup_alias
@ -136,7 +136,7 @@ if (! $this->compact): ?>
<?= $this->qlink(
$hostGroup->services_total,
'monitoring/list/services',
array('hostgroup_name' => $hostGroup->hostgroup_name),
array('hostgroup_name' => $hostGroup->hostgroup_name, 'sort' => 'service_severity'),
array('title' => sprintf(
$this->translate('List all services of all hosts in host group "%s"'),
$hostGroup->hostgroup_alias