mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-17 20:24:58 +00:00
Compare commits
3 Commits
v3.0.0-RC7
...
v3.0.0-RC9
Author | SHA1 | Date | |
---|---|---|---|
547a9d1369 | |||
288a02f5b7 | |||
5dfd8daf3a |
@@ -1,3 +0,0 @@
|
||||
## v2.23.1 - 2024-07-25
|
||||
### Fixed
|
||||
* Fix export activities linked to accompanying period between two dates
|
@@ -73,15 +73,13 @@ final readonly class PeriodHavingActivityBetweenDatesFilter implements FilterInt
|
||||
|
||||
$qb->andWhere(
|
||||
$qb->expr()->exists(
|
||||
'SELECT 1 FROM '.Activity::class." {$alias} WHERE {$alias}.date >= :{$from} AND {$alias}.date < :{$to} AND {$alias}.accompanyingPeriod = activity.accompanyingPeriod AND {$alias}.id = activity.id"
|
||||
'SELECT 1 FROM '.Activity::class." {$alias} WHERE {$alias}.date >= :{$from} AND {$alias}.date < :{$to} AND {$alias}.accompanyingPeriod = activity.accompanyingPeriod"
|
||||
)
|
||||
);
|
||||
|
||||
$qb
|
||||
->setParameter($from, $this->rollingDateConverter->convert($data['start_date']))
|
||||
->setParameter($to, $this->rollingDateConverter->convert($data['end_date']));
|
||||
|
||||
dump($qb->getQuery()->getResult());
|
||||
}
|
||||
|
||||
public function applyOn()
|
||||
|
Reference in New Issue
Block a user