@@ 308-312 (lines=5) @@ | ||
305 | } |
|
306 | } |
|
307 | ||
308 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
309 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
|
310 | } else { |
|
311 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
|
312 | } |
|
313 | ||
314 | $this->qBuilder->andWhere($whereCondition); |
|
315 | if (isset($operator['substitution_pattern'])) { |
|
@@ 437-441 (lines=5) @@ | ||
434 | $salt = '_' . rand(111, 999); |
|
435 | } |
|
436 | ||
437 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
438 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
|
439 | } else { |
|
440 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
|
441 | } |
|
442 | ||
443 | if ($orCondition['orCondition'] != null) { |
|
444 | $orCondition['orCondition'] .= ' OR ' . $whereCondition; |