Show empty groups with a filter chain too

This commit is contained in:
Eric Lippmann 2019-08-14 10:26:05 +02:00
parent c8ed889114
commit fadf12e98a
1 changed files with 6 additions and 0 deletions

View File

@ -633,6 +633,12 @@ abstract class IdoQuery extends DbQuery
new Zend_Db_Expr($ours)
));
if (! $negate) {
$subQueryFilter = $subQueryFilter->orFilter(
new FilterExpression($ours, '', new Zend_Db_Expr('IS NULL'))
);
}
$subQuery
->setFilter($subQueryFilter)
->clearGroupingRules()