@@ 276-280 (lines=5) @@ | ||
273 | if (in_array($fieldName, $this->fields)) { |
|
274 | ||
275 | $salt = ''; |
|
276 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
277 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
278 | $salt = '_' . rand(111, 999); |
|
279 | } |
|
280 | } |
|
281 | ||
282 | // filtering[foo|bar] |
|
283 | // $filterAndOperator[0] = 'foo' |
|
@@ 339-343 (lines=5) @@ | ||
336 | $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
|
337 | ||
338 | $salt = ''; |
|
339 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
340 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
341 | $salt = '_' . rand(111, 999); |
|
342 | } |
|
343 | } |
|
344 | ||
345 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
346 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
|
@@ 386-390 (lines=5) @@ | ||
383 | if (in_array($fieldName, $this->fields)) { |
|
384 | ||
385 | $salt = ''; |
|
386 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
387 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
388 | $salt = '_' . rand(111, 999); |
|
389 | } |
|
390 | } |
|
391 | ||
392 | if ($salt == '') { |
|
393 | $salt = '_' . rand(111, 999); |
|
@@ 464-468 (lines=5) @@ | ||
461 | $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
|
462 | ||
463 | $salt = ''; |
|
464 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
465 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
466 | $salt = '_' . rand(111, 999); |
|
467 | } |
|
468 | } |
|
469 | ||
470 | if ($salt == '') { |
|
471 | $salt = '_' . rand(111, 999); |