Use hosts link instead services link

Use hosts link instead services link to show hosts group.

refs #7259
This commit is contained in:
Carlos Cesario 2014-12-17 10:00:15 -02:00
parent 08473ff5c9
commit 2f3667aa3d
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@
</td>
<?php endif ?>
<td class="groupname">
<a href="<?= $this->href('monitoring/list/services', array('hostgroup' => $h->hostgroup)); ?>">
<a href="<?= $this->href('monitoring/list/hosts', array('hostgroup' => $h->hostgroup)); ?>">
<?= $h->hostgroup; ?>
</a>
</td>

View File

@ -4,7 +4,7 @@ if (empty($object->hostgroups)) return;
$list = array();
foreach ($object->hostgroups as $name => $alias) {
$list[] = $this->qlink($alias, 'monitoring/list/services', array(
$list[] = $this->qlink($alias, 'monitoring/list/hosts', array(
'hostgroup' => $name
));
}