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