mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 04:23:49 +00:00
[export] fix date range selection on filtre and grouping "by status of the course at date" on accompanying periods
This commit is contained in:
6
.changes/unreleased/Fixed-20231019-114350.yaml
Normal file
6
.changes/unreleased/Fixed-20231019-114350.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
kind: Fixed
|
||||
body: '[export] fix date range selection on filter and grouping "by status of the
|
||||
course at date", on accompanying periods'
|
||||
time: 2023-10-19T11:43:50.455829748+02:00
|
||||
custom:
|
||||
Issue: "177"
|
@@ -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)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@@ -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)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user