mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix error in LocationApiController customizeQuery
This commit is contained in:
parent
0e18a3ada9
commit
d86307327c
@ -18,7 +18,7 @@ class LocationApiController extends ApiController
|
|||||||
$query->andWhere($query->expr()->orX(
|
$query->andWhere($query->expr()->orX(
|
||||||
$query->expr()->andX(
|
$query->expr()->andX(
|
||||||
$query->expr()->eq('e.createdBy', ':user'),
|
$query->expr()->eq('e.createdBy', ':user'),
|
||||||
$query->expr()->eq('e.createdAt', ':dateBefore')
|
$query->expr()->gte('e.createdAt', ':dateBefore')
|
||||||
),
|
),
|
||||||
$query->expr()->eq('e.availableForUsers', "'TRUE'")
|
$query->expr()->eq('e.availableForUsers', "'TRUE'")
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user