mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
list/servicematrix: adjust URLs to fit new filters
This commit is contained in:
parent
c36ad91018
commit
1a91f0369e
@ -19,7 +19,7 @@
|
|||||||
<?php
|
<?php
|
||||||
$hasHeader = false;
|
$hasHeader = false;
|
||||||
$pivotData = $this->pivot->toArray();
|
$pivotData = $this->pivot->toArray();
|
||||||
$hostFilter = implode(',', array_keys($pivotData));
|
$hostFilter = '(' . implode('|', array_keys($pivotData)) . ')';
|
||||||
?>
|
?>
|
||||||
<?php foreach ($pivotData as $host_name => $serviceStates): ?>
|
<?php foreach ($pivotData as $host_name => $serviceStates): ?>
|
||||||
<?php if (!$hasHeader): ?>
|
<?php if (!$hasHeader): ?>
|
||||||
@ -55,7 +55,7 @@ $hostFilter = implode(',', array_keys($pivotData));
|
|||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<a href="<?=
|
<a href="<?=
|
||||||
$this->href('monitoring/show/host', array('host' => $host_name))
|
$this->href('monitoring/show/services', array('host' => $host_name))
|
||||||
?>"><?= $host_name ?></a>
|
?>"><?= $host_name ?></a>
|
||||||
</th>
|
</th>
|
||||||
<?php foreach (array_values($serviceStates) as $service): ?>
|
<?php foreach (array_values($serviceStates) as $service): ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user