@@ 381-385 (lines=5) @@ | ||
378 | $whereCondition = $this->entityAlias.'.'.$fieldName.' = :field_'.$fieldName . $salt; |
|
379 | } |
|
380 | ||
381 | if ($orCondition['orCondition'] != null) { |
|
382 | $orCondition['orCondition'] .= ' OR ' . $whereCondition; |
|
383 | } else { |
|
384 | $orCondition['orCondition'] = $whereCondition; |
|
385 | } |
|
386 | ||
387 | if (isset($operator['substitution_pattern'])) { |
|
388 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
@@ 407-411 (lines=5) @@ | ||
404 | $isNotARelation = 0 !== strpos($fieldName, 'Embedded.'); |
|
405 | if ($isNotARelation) { |
|
406 | $whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' ' . $this->entityAlias . '.' . $value; |
|
407 | if ($orCondition['orCondition'] != null) { |
|
408 | $orCondition['orCondition'] .= ' OR ' . $whereCondition; |
|
409 | } else { |
|
410 | $orCondition['orCondition'] = $whereCondition; |
|
411 | } |
|
412 | } |
|
413 | } |
|
414 | ||
@@ 442-446 (lines=5) @@ | ||
439 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
|
440 | } |
|
441 | ||
442 | if ($orCondition['orCondition'] != null) { |
|
443 | $orCondition['orCondition'] .= ' OR ' . $whereCondition; |
|
444 | } else { |
|
445 | $orCondition['orCondition'] = $whereCondition; |
|
446 | } |
|
447 | ||
448 | if (isset($operator['substitution_pattern'])) { |
|
449 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |