|
@@ 284-292 (lines=9) @@
|
| 281 |
|
} |
| 282 |
|
} |
| 283 |
|
|
| 284 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |
| 285 |
|
$whereCondition = $relationEntityAlias . '.' . $fieldName . ' ' . |
| 286 |
|
$op->getMeta() . |
| 287 |
|
' (:field_'.$fieldName . $salt . ')'; |
| 288 |
|
} else { |
| 289 |
|
$whereCondition = $relationEntityAlias . '.' . $fieldName . ' ' . |
| 290 |
|
$op->getMeta() . |
| 291 |
|
' :field_'.$fieldName . $salt; |
| 292 |
|
} |
| 293 |
|
|
| 294 |
|
$this->qBuilder->andWhere($whereCondition); |
| 295 |
|
if ($op->haveSubstitutionPattern()) { |
|
@@ 407-415 (lines=9) @@
|
| 404 |
|
} |
| 405 |
|
} |
| 406 |
|
|
| 407 |
|
if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |
| 408 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '. |
| 409 |
|
$op->getMeta() |
| 410 |
|
.' (:field_'.$fieldName . $salt . ')'; |
| 411 |
|
} else { |
| 412 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '. |
| 413 |
|
$op->getMeta() |
| 414 |
|
.' :field_'.$fieldName . $salt; |
| 415 |
|
} |
| 416 |
|
|
| 417 |
|
if ($orCondition['orCondition'] != null) { |
| 418 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |