|
@@ 376-380 (lines=5) @@
|
| 373 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' = :field_'.$fieldName . $salt; |
| 374 |
|
} |
| 375 |
|
|
| 376 |
|
if ($orCondition['orCondition'] != null) { |
| 377 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 378 |
|
} else { |
| 379 |
|
$orCondition['orCondition'] = $whereCondition; |
| 380 |
|
} |
| 381 |
|
|
| 382 |
|
if (isset($operator['substitution_pattern'])) { |
| 383 |
|
if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
@@ 402-406 (lines=5) @@
|
| 399 |
|
$isNotARelation = 0 !== strpos($fieldName, 'Embedded.'); |
| 400 |
|
if ($isNotARelation) { |
| 401 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' ' . $this->entityAlias . '.' . $value; |
| 402 |
|
if ($orCondition['orCondition'] != null) { |
| 403 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 404 |
|
} else { |
| 405 |
|
$orCondition['orCondition'] = $whereCondition; |
| 406 |
|
} |
| 407 |
|
} |
| 408 |
|
} |
| 409 |
|
|
|
@@ 437-441 (lines=5) @@
|
| 434 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
| 435 |
|
} |
| 436 |
|
|
| 437 |
|
if ($orCondition['orCondition'] != null) { |
| 438 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 439 |
|
} else { |
| 440 |
|
$orCondition['orCondition'] = $whereCondition; |
| 441 |
|
} |
| 442 |
|
|
| 443 |
|
if (isset($operator['substitution_pattern'])) { |
| 444 |
|
if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |