| @@ 257-267 (lines=11) @@ | ||
| 254 | ||
| 255 | $this->qBuilder->andWhere($whereCondition); |
|
| 256 | ||
| 257 | if ($op->haveSubstitutionPattern()) { |
|
| 258 | if ($filtering->isListOperator()) { |
|
| 259 | $value = explode(',', $value); |
|
| 260 | } else { |
|
| 261 | $value = str_replace( |
|
| 262 | '{string}', |
|
| 263 | $value, |
|
| 264 | $op->getSubstitutionPattern() |
|
| 265 | ); |
|
| 266 | } |
|
| 267 | } |
|
| 268 | ||
| 269 | $this->qBuilder->setParameter('field_' . $fieldName . $saltObj->getSalt(), $value); |
|
| 270 | } else { |
|
| @@ 302-312 (lines=11) @@ | ||
| 299 | } |
|
| 300 | ||
| 301 | $this->qBuilder->andWhere($whereCondition); |
|
| 302 | if ($op->haveSubstitutionPattern()) { |
|
| 303 | if ($filtering->isListOperator()) { |
|
| 304 | $value = explode(',', $value); |
|
| 305 | } else { |
|
| 306 | $value = str_replace( |
|
| 307 | '{string}', |
|
| 308 | $value, |
|
| 309 | $op->getSubstitutionPattern() |
|
| 310 | ); |
|
| 311 | } |
|
| 312 | } |
|
| 313 | ||
| 314 | $this->qBuilder->setParameter('field_' . $fieldName . $saltObj->getSalt(), $value); |
|
| 315 | } |
|
| @@ 363-373 (lines=11) @@ | ||
| 360 | $orCondition['orCondition'] = $whereCondition; |
|
| 361 | } |
|
| 362 | ||
| 363 | if ($op->haveSubstitutionPattern()) { |
|
| 364 | if ($filtering->isListOperator()) { |
|
| 365 | $value = explode(',', $value); |
|
| 366 | } else { |
|
| 367 | $value = str_replace( |
|
| 368 | '{string}', |
|
| 369 | $value, |
|
| 370 | $op->getSubstitutionPattern() |
|
| 371 | ); |
|
| 372 | } |
|
| 373 | } |
|
| 374 | ||
| 375 | $orCondition['parameters'][] = [ |
|
| 376 | 'field' => 'field_' . $fieldName . $salt, |
|
| @@ 420-430 (lines=11) @@ | ||
| 417 | $orCondition['orCondition'] = $whereCondition; |
|
| 418 | } |
|
| 419 | ||
| 420 | if ($op->haveSubstitutionPattern()) { |
|
| 421 | if ($filtering->isListOperator()) { |
|
| 422 | $value = explode(',', $value); |
|
| 423 | } else { |
|
| 424 | $value = str_replace( |
|
| 425 | '{string}', |
|
| 426 | $value, |
|
| 427 | $op->getSubstitutionPattern() |
|
| 428 | ); |
|
| 429 | } |
|
| 430 | } |
|
| 431 | ||
| 432 | $orCondition['parameters'][] = [ |
|
| 433 | 'field' => 'field_' . $fieldName . $saltObj->getSalt(), |
|