Merge pull request #4201 from Icinga/fix/single-negated-membership-filters-on-postgres-4196
Fix single negated membership filters with PostgreSQL
This commit is contained in:
commit
6492a28166
|
@ -572,7 +572,7 @@ abstract class IdoQuery extends DbQuery
|
|||
$column = $subQuery->aliasToColumnName($alias);
|
||||
if (isset($this->caseInsensitiveColumns[$subQuery->aliasToTableName($alias)][$alias])) {
|
||||
$column = 'LOWER( ' . $column . ' )';
|
||||
$subQueryFilter->setExpression(array_map('strtolower', $subQueryFilter->getExpression()));
|
||||
$subQueryFilter->setExpression(array_map('strtolower', (array) $subQueryFilter->getExpression()));
|
||||
}
|
||||
|
||||
$additional = null;
|
||||
|
|
Loading…
Reference in New Issue