@@ 239-243 (lines=5) @@ | ||
236 | if (in_array($fieldName, $this->fields)) { |
|
237 | ||
238 | $salt = ''; |
|
239 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
240 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
241 | $salt = '_' . rand(111, 999); |
|
242 | } |
|
243 | } |
|
244 | ||
245 | // filtering[foo|bar] |
|
246 | // $filterAndOperator[0] = 'foo' |
|
@@ 302-306 (lines=5) @@ | ||
299 | $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
|
300 | ||
301 | $salt = ''; |
|
302 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
303 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
304 | $salt = '_' . rand(111, 999); |
|
305 | } |
|
306 | } |
|
307 | ||
308 | if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
|
309 | $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
|
@@ 349-353 (lines=5) @@ | ||
346 | if (in_array($fieldName, $this->fields)) { |
|
347 | ||
348 | $salt = ''; |
|
349 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
350 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
351 | $salt = '_' . rand(111, 999); |
|
352 | } |
|
353 | } |
|
354 | ||
355 | if ($salt == '') { |
|
356 | $salt = '_' . rand(111, 999); |
|
@@ 427-431 (lines=5) @@ | ||
424 | $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
|
425 | ||
426 | $salt = ''; |
|
427 | foreach ($this->qBuilder->getParameters() as $parameter) { |
|
428 | if ($parameter->getName() == 'field_' . $fieldName) { |
|
429 | $salt = '_' . rand(111, 999); |
|
430 | } |
|
431 | } |
|
432 | ||
433 | if ($salt == '') { |
|
434 | $salt = '_' . rand(111, 999); |