|
@@ 233-237 (lines=5) @@
|
| 230 |
|
if (in_array($fieldName, $this->fields)) { |
| 231 |
|
|
| 232 |
|
$salt = ''; |
| 233 |
|
foreach ($this->qBuilder->getParameters() as $parameter) { |
| 234 |
|
if ($parameter->getName() == 'field_' . $fieldName) { |
| 235 |
|
$salt = '_' . rand(111, 999); |
| 236 |
|
} |
| 237 |
|
} |
| 238 |
|
|
| 239 |
|
// filtering[foo|bar] |
| 240 |
|
// $filterAndOperator[0] = 'foo' |
|
@@ 296-300 (lines=5) @@
|
| 293 |
|
$fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
| 294 |
|
|
| 295 |
|
$salt = ''; |
| 296 |
|
foreach ($this->qBuilder->getParameters() as $parameter) { |
| 297 |
|
if ($parameter->getName() == 'field_' . $fieldName) { |
| 298 |
|
$salt = '_' . rand(111, 999); |
| 299 |
|
} |
| 300 |
|
} |
| 301 |
|
|
| 302 |
|
if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) { |
| 303 |
|
$whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')'; |
|
@@ 343-347 (lines=5) @@
|
| 340 |
|
if (in_array($fieldName, $this->fields)) { |
| 341 |
|
|
| 342 |
|
$salt = ''; |
| 343 |
|
foreach ($this->qBuilder->getParameters() as $parameter) { |
| 344 |
|
if ($parameter->getName() == 'field_' . $fieldName) { |
| 345 |
|
$salt = '_' . rand(111, 999); |
| 346 |
|
} |
| 347 |
|
} |
| 348 |
|
|
| 349 |
|
if ($salt == '') { |
| 350 |
|
$salt = '_' . rand(111, 999); |
|
@@ 421-425 (lines=5) @@
|
| 418 |
|
$fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
| 419 |
|
|
| 420 |
|
$salt = ''; |
| 421 |
|
foreach ($this->qBuilder->getParameters() as $parameter) { |
| 422 |
|
if ($parameter->getName() == 'field_' . $fieldName) { |
| 423 |
|
$salt = '_' . rand(111, 999); |
| 424 |
|
} |
| 425 |
|
} |
| 426 |
|
|
| 427 |
|
if ($salt == '') { |
| 428 |
|
$salt = '_' . rand(111, 999); |