|
@@ 368-372 (lines=5) @@
|
| 365 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' = :field_'.$fieldName . $salt; |
| 366 |
|
} |
| 367 |
|
|
| 368 |
|
if ($orCondition['orCondition'] != null) { |
| 369 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 370 |
|
} else { |
| 371 |
|
$orCondition['orCondition'] = $whereCondition; |
| 372 |
|
} |
| 373 |
|
|
| 374 |
|
if (isset($operator['substitution_pattern'])) { |
| 375 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |
|
@@ 394-398 (lines=5) @@
|
| 391 |
|
$isNotARelation = 0 !== strpos($fieldName, 'Embedded.'); |
| 392 |
|
if ($isNotARelation) { |
| 393 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' ' . $this->entityAlias . '.' . $value; |
| 394 |
|
if ($orCondition['orCondition'] != null) { |
| 395 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 396 |
|
} else { |
| 397 |
|
$orCondition['orCondition'] = $whereCondition; |
| 398 |
|
} |
| 399 |
|
} |
| 400 |
|
} |
| 401 |
|
|
|
@@ 425-429 (lines=5) @@
|
| 422 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
| 423 |
|
} |
| 424 |
|
|
| 425 |
|
if ($orCondition['orCondition'] != null) { |
| 426 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 427 |
|
} else { |
| 428 |
|
$orCondition['orCondition'] = $whereCondition; |
| 429 |
|
} |
| 430 |
|
|
| 431 |
|
if (isset($operator['substitution_pattern'])) { |
| 432 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |