mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Show empty groups with a filter chain too
This commit is contained in:
parent
c8ed889114
commit
fadf12e98a
@ -633,6 +633,12 @@ abstract class IdoQuery extends DbQuery
|
|||||||
new Zend_Db_Expr($ours)
|
new Zend_Db_Expr($ours)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
if (! $negate) {
|
||||||
|
$subQueryFilter = $subQueryFilter->orFilter(
|
||||||
|
new FilterExpression($ours, '', new Zend_Db_Expr('IS NULL'))
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$subQuery
|
$subQuery
|
||||||
->setFilter($subQueryFilter)
|
->setFilter($subQueryFilter)
|
||||||
->clearGroupingRules()
|
->clearGroupingRules()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user