mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-05 07:19:49 +00:00
fix: do no display expired news items
This commit is contained in:
parent
13c33567fd
commit
50a6cb5af6
@ -86,7 +86,7 @@ class NewsItemRepository implements ObjectRepository
|
||||
$qb->expr()->andX(
|
||||
$qb->expr()->lte('n.startDate', ':now'),
|
||||
$qb->expr()->orX(
|
||||
$qb->expr()->lt('n.endDate', ':now'),
|
||||
$qb->expr()->gt('n.endDate', ':now'),
|
||||
$qb->expr()->isNull('n.endDate')
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user