mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
QuickTable: Fix enforced filters for non-FilterAnd filters
We need to use the result of andFilter() as the new Filter. The filter gets replaced by FilterAnd($oldFilter, $enforcedFilter) here.
This commit is contained in:
parent
1c028801bc
commit
fa61805df2
@ -195,7 +195,7 @@ abstract class QuickTable implements Paginatable
|
||||
}
|
||||
if ($filter) {
|
||||
foreach ($enforced as $f) {
|
||||
$filter->andFilter($f);
|
||||
$filter = $filter->andFilter($f);
|
||||
}
|
||||
$query->where($this->renderFilter($filter));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user