mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Ldap\Query: Fix access of a filter's expression
This commit is contained in:
parent
cfa9176192
commit
108f55128f
@ -131,7 +131,7 @@ class Query extends SimpleQuery
|
|||||||
// TODO: This should be considered a quick fix only.
|
// TODO: This should be considered a quick fix only.
|
||||||
// Drop this entirely once support for Icinga\Data\Filter is available
|
// Drop this entirely once support for Icinga\Data\Filter is available
|
||||||
if ($filter->isExpression()) {
|
if ($filter->isExpression()) {
|
||||||
$this->where($filter->getColumn(), $filter->getValue());
|
$this->where($filter->getColumn(), $filter->getExpression());
|
||||||
} elseif ($filter->isChain()) {
|
} elseif ($filter->isChain()) {
|
||||||
foreach ($filter->filters() as $chainOrExpression) {
|
foreach ($filter->filters() as $chainOrExpression) {
|
||||||
$this->addFilter($chainOrExpression);
|
$this->addFilter($chainOrExpression);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user