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…
Reference in New Issue