[export] fix date range selection on filtre and grouping "by status of the course at date" on accompanying periods

This commit is contained in:
2023-10-19 11:44:53 +02:00
parent 981dc6a959
commit 4c9ea740c8
3 changed files with 8 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ final readonly class StepAggregator implements AggregatorInterface
$qb->expr()->lte(self::A.'.startDate', ':'.self::P),
$qb->expr()->orX(
$qb->expr()->isNull(self::A.'.endDate'),
$qb->expr()->lt(self::A.'.endDate', ':'.self::P)
$qb->expr()->gt(self::A.'.endDate', ':'.self::P)
)
)
)

View File

@@ -61,7 +61,7 @@ class StepFilterOnDate implements FilterInterface
$qb->expr()->lte(self::A.'.startDate', ':'.self::P),
$qb->expr()->orX(
$qb->expr()->isNull(self::A.'.endDate'),
$qb->expr()->lt(self::A.'.endDate', ':'.self::P)
$qb->expr()->gt(self::A.'.endDate', ':'.self::P)
)
)
)