mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
Fix HouseholdACLAwareRepository: use the correct association to person's center
This commit is contained in:
@@ -41,8 +41,9 @@ final readonly class HouseholdACLAwareRepository implements HouseholdACLAwareRep
|
||||
$qb
|
||||
->join($alias . '.members', 'members')
|
||||
->join('members.person', 'person')
|
||||
->join('person.centerCurrent', 'person_center_current')
|
||||
->andWhere(
|
||||
$qb->expr()->in('person.center', ':centers')
|
||||
$qb->expr()->in('person_center_current.center', ':centers')
|
||||
)
|
||||
->setParameter('centers', $centers);
|
||||
|
||||
|
Reference in New Issue
Block a user