@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | $columnName = $this->getColumnName($filter->name()); |
| 36 | 36 | $qb->andWhere(sprintf('%s = :%s', $columnName, $filter->name())) |
| 37 | - ->setParameter($filter->name(), $value); |
|
| 37 | + ->setParameter($filter->name(), $value); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | // add orders by to a query |
@@ -21,9 +21,9 @@ |
||
| 21 | 21 | $countFrom = $this->getCountFrom(); |
| 22 | 22 | |
| 23 | 23 | $qb->select("COUNT($countFrom)") |
| 24 | - ->setMaxResults(null) |
|
| 25 | - ->setFirstResult(null) |
|
| 26 | - ->resetQueryPart('orderBy'); |
|
| 24 | + ->setMaxResults(null) |
|
| 25 | + ->setFirstResult(null) |
|
| 26 | + ->resetQueryPart('orderBy'); |
|
| 27 | 27 | |
| 28 | 28 | return (int) $qb->execute()->fetchColumn(); |
| 29 | 29 | } |