|
@@ 349-353 (lines=5) @@
|
| 346 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' = :field_'.$fieldName . $salt; |
| 347 |
|
} |
| 348 |
|
|
| 349 |
|
if ($orCondition['orCondition'] != null) { |
| 350 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 351 |
|
} else { |
| 352 |
|
$orCondition['orCondition'] = $whereCondition; |
| 353 |
|
} |
| 354 |
|
|
| 355 |
|
if (isset($operator['substitution_pattern'])) { |
| 356 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |
|
@@ 375-379 (lines=5) @@
|
| 372 |
|
$isNotARelation = 0 !== strpos($fieldName, 'Embedded.'); |
| 373 |
|
if ($isNotARelation) { |
| 374 |
|
$whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' ' . $this->entityAlias . '.' . $value; |
| 375 |
|
if ($orCondition['orCondition'] != null) { |
| 376 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 377 |
|
} else { |
| 378 |
|
$orCondition['orCondition'] = $whereCondition; |
| 379 |
|
} |
| 380 |
|
} |
| 381 |
|
} |
| 382 |
|
|
|
@@ 406-410 (lines=5) @@
|
| 403 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
| 404 |
|
} |
| 405 |
|
|
| 406 |
|
if ($orCondition['orCondition'] != null) { |
| 407 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |
| 408 |
|
} else { |
| 409 |
|
$orCondition['orCondition'] = $whereCondition; |
| 410 |
|
} |
| 411 |
|
|
| 412 |
|
if (isset($operator['substitution_pattern'])) { |
| 413 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |