Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 489637f

Browse files
Fix DateRangeFilter
As supposed by @agatagolebiowska in #803.
1 parent 4509ffd commit 489637f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Datatable/Filter/DateRangeFilter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function addAndExpression(Andx $andExpr, QueryBuilder $qb, $searchField,
4545
$dateEnd = new DateTime($_dateEnd);
4646
$dateEnd->setTime(23, 59, 59);
4747

48+
$parameterCounter += 1;
4849
$andExpr = $this->getBetweenAndExpression($andExpr, $qb, $searchField, $dateStart->format('Y-m-d H:i:s'), $dateEnd->format('Y-m-d H:i:s'), $parameterCounter);
4950
$parameterCounter += 2;
5051

0 commit comments

Comments
 (0)