mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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)) {
|
||||
$this->baseQuery
|
||||
->where($this->xAxisColumn, $xAxisKeys)
|
||||
->where($this->yAxisColumn, $yAxisKeys);
|
||||
->where($this->xAxisColumn, array_map(
|
||||
function($key) {
|
||||
return (string) $key;
|
||||
},
|
||||
$xAxisKeys
|
||||
))
|
||||
->where($this->yAxisColumn, array_map(
|
||||
function($key) {
|
||||
return (string) $key;
|
||||
},
|
||||
$yAxisKeys
|
||||
));
|
||||
|
||||
foreach ($yAxisKeys as $yAxisKey) {
|
||||
foreach ($xAxisKeys as $xAxisKey) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user