@@ -20,7 +20,7 @@ |
||
20 | 20 | $value = $operation->getValue(); |
21 | 21 | $operator = $operation->getOperator(); |
22 | 22 | $fieldName = $operation->getField(); |
23 | - $parameterName = str_replace(".", "_", $fieldName);// @see https://github.com/Nayjest/Grids/issues/111 |
|
23 | + $parameterName = str_replace(".", "_", $fieldName); // @see https://github.com/Nayjest/Grids/issues/111 |
|
24 | 24 | $src->andWhere("$fieldName $operator :$parameterName"); |
25 | 25 | $src->setParameter($parameterName, $value); |
26 | 26 | return $src; |
@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | class DoctrineDataProvider extends AbstractDataProvider |
9 | 9 | { |
10 | - public function __construct(QueryBuilder $src, array $operations = []) |
|
10 | + public function __construct(QueryBuilder $src, array $operations = [ ]) |
|
11 | 11 | { |
12 | 12 | $this->operations()->set($operations); |
13 | 13 | $this->processingService = new DoctrineProcessingService( |