| @@ 360-370 (lines=11) @@ | ||
| 357 | $orCondition['orCondition'] = $whereCondition; |
|
| 358 | } |
|
| 359 | ||
| 360 | if (isset($operator['substitution_pattern'])) { |
|
| 361 | if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |
|
| 362 | $value = explode(',', $value); |
|
| 363 | } else { |
|
| 364 | $value = str_replace( |
|
| 365 | '{string}', |
|
| 366 | $value, |
|
| 367 | $operator['substitution_pattern'] |
|
| 368 | ); |
|
| 369 | } |
|
| 370 | } |
|
| 371 | ||
| 372 | $orCondition['parameters'][] = [ |
|
| 373 | 'field' => 'field_' . $fieldName . $salt, |
|
| @@ 417-427 (lines=11) @@ | ||
| 414 | $orCondition['orCondition'] = $whereCondition; |
|
| 415 | } |
|
| 416 | ||
| 417 | if (isset($operator['substitution_pattern'])) { |
|
| 418 | if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) { |
|
| 419 | $value = explode(',', $value); |
|
| 420 | } else { |
|
| 421 | $value = str_replace( |
|
| 422 | '{string}', |
|
| 423 | $value, |
|
| 424 | $operator['substitution_pattern'] |
|
| 425 | ); |
|
| 426 | } |
|
| 427 | } |
|
| 428 | ||
| 429 | $orCondition['parameters'][] = [ |
|
| 430 | 'field' => 'field_' . $fieldName . $salt, |
|