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