fix: use correct query constraint

This commit is contained in:
Björn Fromme
2025-01-07 10:42:16 +01:00
parent 403c53d1e0
commit 06be7181c7
@@ -138,7 +138,7 @@ abstract class AbstractRepository extends Repository
{
// Pax
if ($filterSettings['pax'] > 0) {
$qb->andWhere($qb->expr()->gte(
$qb->andWhere($qb->expr()->lte(
'date.min_pax',
$qb->createNamedParameter($filterSettings['pax'], Connection::PARAM_INT)
));