mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
SimpleQuery: Don't fail to order results based on sequenced column arrays
refs #3414
This commit is contained in:
parent
a8832517bf
commit
e22d7daab6
@ -365,7 +365,7 @@ class SimpleQuery implements QueryInterface, Queryable, Iterator
|
|||||||
}
|
}
|
||||||
|
|
||||||
$column = $this->order[$orderIndex][0];
|
$column = $this->order[$orderIndex][0];
|
||||||
if (array_key_exists($column, $this->flippedColumns)) {
|
if (array_key_exists($column, $this->flippedColumns) && is_string($this->flippedColumns[$column])) {
|
||||||
$column = $this->flippedColumns[$column];
|
$column = $this->flippedColumns[$column];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user