@@ 345-349 (lines=5) @@ | ||
342 | } |
|
343 | } |
|
344 | ||
345 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
346 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
|
347 | } else { |
|
348 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
|
349 | } |
|
350 | ||
351 | $this->qBuilder->andWhere($whereCondition); |
|
352 | if (isset($operator['substitution_pattern'])) { |
|
@@ 474-478 (lines=5) @@ | ||
471 | $salt = '_' . rand(111, 999); |
|
472 | } |
|
473 | ||
474 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
475 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
|
476 | } else { |
|
477 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
|
478 | } |
|
479 | ||
480 | if ($orCondition['orCondition'] != null) { |
|
481 | $orCondition['orCondition'] .= ' OR ' . $whereCondition; |