|
@@ 354-358 (lines=5) @@
|
| 351 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' = :field_'.$fieldName . $salt; |
| 352 |
|
} |
| 353 |
|
|
| 354 |
|
if ($orCondition['orCondition'] != null) { |
| 355 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 356 |
|
} else { |
| 357 |
|
$orCondition['orCondition'] = $whereCondition; |
| 358 |
|
} |
| 359 |
|
|
| 360 |
|
if (isset($operator['substitution_pattern'])) { |
| 361 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |
|
@@ 380-384 (lines=5) @@
|
| 377 |
|
$isNotARelation = 0 !== strpos($fieldName, 'Embedded.'); |
| 378 |
|
if ($isNotARelation) { |
| 379 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' ' . $this->entityAlias . '.' . $value; |
| 380 |
|
if ($orCondition['orCondition'] != null) { |
| 381 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 382 |
|
} else { |
| 383 |
|
$orCondition['orCondition'] = $whereCondition; |
| 384 |
|
} |
| 385 |
|
} |
| 386 |
|
} |
| 387 |
|
|
|
@@ 411-415 (lines=5) @@
|
| 408 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
| 409 |
|
} |
| 410 |
|
|
| 411 |
|
if ($orCondition['orCondition'] != null) { |
| 412 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 413 |
|
} else { |
| 414 |
|
$orCondition['orCondition'] = $whereCondition; |
| 415 |
|
} |
| 416 |
|
|
| 417 |
|
if (isset($operator['substitution_pattern'])) { |
| 418 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |