mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Make Service Grid working with host names that contain only digits
fixes #10790
This commit is contained in:
parent
aad7baa5c4
commit
d087ae2575
@ -369,8 +369,18 @@ class PivotTable implements Sortable
|
|||||||
);
|
);
|
||||||
if (! empty($xAxis) && ! empty($yAxis)) {
|
if (! empty($xAxis) && ! empty($yAxis)) {
|
||||||
$this->baseQuery
|
$this->baseQuery
|
||||||
->where($this->xAxisColumn, $xAxisKeys)
|
->where($this->xAxisColumn, array_map(
|
||||||
->where($this->yAxisColumn, $yAxisKeys);
|
function($key) {
|
||||||
|
return (string) $key;
|
||||||
|
},
|
||||||
|
$xAxisKeys
|
||||||
|
))
|
||||||
|
->where($this->yAxisColumn, array_map(
|
||||||
|
function($key) {
|
||||||
|
return (string) $key;
|
||||||
|
},
|
||||||
|
$yAxisKeys
|
||||||
|
));
|
||||||
|
|
||||||
foreach ($yAxisKeys as $yAxisKey) {
|
foreach ($yAxisKeys as $yAxisKey) {
|
||||||
foreach ($xAxisKeys as $xAxisKey) {
|
foreach ($xAxisKeys as $xAxisKey) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user