Merge remote-tracking branch 'origin/master' into bugfix/dashboard-rework-7751
This commit is contained in:
commit
d62d487251
|
@ -162,7 +162,10 @@ class DbQuery extends SimpleQuery
|
|||
$parts = array();
|
||||
if (! $filter->isEmpty()) {
|
||||
foreach ($filter->filters() as $f) {
|
||||
$parts[] = $this->renderFilter($f, $level + 1);
|
||||
$filterPart = $this->renderFilter($f, $level + 1);
|
||||
if ($filterPart !== '') {
|
||||
$parts[] = $filterPart;
|
||||
}
|
||||
}
|
||||
if ($level > 0) {
|
||||
$str .= ' (' . implode($op, $parts) . ') ';
|
||||
|
|
Loading…
Reference in New Issue