mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
fix boundary in getCurrentMembers/getNonCurrentMembers
This commit is contained in:
parent
704ec76ca4
commit
2b3c4b7af9
@ -229,7 +229,7 @@ class Household
|
|||||||
))
|
))
|
||||||
->andWhere($expr->orX(
|
->andWhere($expr->orX(
|
||||||
$expr->isNull('endDate'),
|
$expr->isNull('endDate'),
|
||||||
$expr->gte('endDate', $date)
|
$expr->gt('endDate', $date)
|
||||||
));
|
));
|
||||||
|
|
||||||
return $criteria;
|
return $criteria;
|
||||||
@ -306,7 +306,7 @@ class Household
|
|||||||
)
|
)
|
||||||
->orWhere(
|
->orWhere(
|
||||||
$expr->andX(
|
$expr->andX(
|
||||||
$expr->lt('endDate', $date),
|
$expr->lte('endDate', $date),
|
||||||
$expr->neq('endDate', null)
|
$expr->neq('endDate', null)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user