| @@ 244-254 (lines=11) @@ | ||
| 241 | ||
| 242 | $this->qBuilder->andWhere($whereCondition); |
|
| 243 | ||
| 244 | if ($op->haveSubstitutionPattern()) { |
|
| 245 | if ($filtering->isListOperator()) { |
|
| 246 | $value = explode(',', $value); |
|
| 247 | } else { |
|
| 248 | $value = str_replace( |
|
| 249 | '{string}', |
|
| 250 | $value, |
|
| 251 | $op->getSubstitutionPattern() |
|
| 252 | ); |
|
| 253 | } |
|
| 254 | } |
|
| 255 | ||
| 256 | $this->qBuilder->setParameter( |
|
| 257 | 'field_' . $fieldName . $saltObj->getSalt(), |
|
| @@ 284-294 (lines=11) @@ | ||
| 281 | $whereCondition = $whereObj->getEmbeddedCondition(); |
|
| 282 | ||
| 283 | $this->qBuilder->andWhere($whereCondition); |
|
| 284 | if ($op->haveSubstitutionPattern()) { |
|
| 285 | if ($filtering->isListOperator()) { |
|
| 286 | $value = explode(',', $value); |
|
| 287 | } else { |
|
| 288 | $value = str_replace( |
|
| 289 | '{string}', |
|
| 290 | $value, |
|
| 291 | $op->getSubstitutionPattern() |
|
| 292 | ); |
|
| 293 | } |
|
| 294 | } |
|
| 295 | ||
| 296 | $this->qBuilder->setParameter('field_' . $fieldName . $saltObj->getSalt(), $value); |
|
| 297 | } |
|
| @@ 345-355 (lines=11) @@ | ||
| 342 | $orCondition['orCondition'] = $whereCondition; |
|
| 343 | } |
|
| 344 | ||
| 345 | if ($op->haveSubstitutionPattern()) { |
|
| 346 | if ($filtering->isListOperator()) { |
|
| 347 | $value = explode(',', $value); |
|
| 348 | } else { |
|
| 349 | $value = str_replace( |
|
| 350 | '{string}', |
|
| 351 | $value, |
|
| 352 | $op->getSubstitutionPattern() |
|
| 353 | ); |
|
| 354 | } |
|
| 355 | } |
|
| 356 | ||
| 357 | $orCondition['parameters'][] = [ |
|
| 358 | 'field' => 'field_' . $fieldName . $salt, |
|
| @@ 402-412 (lines=11) @@ | ||
| 399 | $orCondition['orCondition'] = $whereCondition; |
|
| 400 | } |
|
| 401 | ||
| 402 | if ($op->haveSubstitutionPattern()) { |
|
| 403 | if ($filtering->isListOperator()) { |
|
| 404 | $value = explode(',', $value); |
|
| 405 | } else { |
|
| 406 | $value = str_replace( |
|
| 407 | '{string}', |
|
| 408 | $value, |
|
| 409 | $op->getSubstitutionPattern() |
|
| 410 | ); |
|
| 411 | } |
|
| 412 | } |
|
| 413 | ||
| 414 | $orCondition['parameters'][] = [ |
|
| 415 | 'field' => 'field_' . $fieldName . $saltObj->getSalt(), |
|