|
@@ 301-305 (lines=5) @@
|
| 298 |
|
} |
| 299 |
|
} |
| 300 |
|
|
| 301 |
|
if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
| 302 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
| 303 |
|
} else { |
| 304 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
| 305 |
|
} |
| 306 |
|
|
| 307 |
|
$this->qBuilder->andWhere($whereCondition); |
| 308 |
|
if (isset($operator['substitution_pattern'])) { |
|
@@ 430-434 (lines=5) @@
|
| 427 |
|
$salt = '_' . rand(111, 999); |
| 428 |
|
} |
| 429 |
|
|
| 430 |
|
if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
| 431 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
| 432 |
|
} else { |
| 433 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt; |
| 434 |
|
} |
| 435 |
|
|
| 436 |
|
if ($orCondition['orCondition'] != null) { |
| 437 |
|
$orCondition['orCondition'] .= ' OR ' . $whereCondition; |