mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fixe: [regulation list] fix query when selecting a scope
Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/45
This commit is contained in:
parent
a913d2820d
commit
a2b2cafbce
@ -326,7 +326,7 @@ final class AccompanyingPeriodACLAwareRepository implements AccompanyingPeriodAC
|
||||
$or = $qb->expr()->orX();
|
||||
|
||||
foreach ($services as $key => $service) {
|
||||
$or->add($qb->expr()->isMemberOf('ap.scopes', ':scope_' . $key));
|
||||
$or->add($qb->expr()->isMemberOf(':scope_' . $key, 'ap.scopes'));
|
||||
$qb->setParameter('scope_' . $key, $service);
|
||||
}
|
||||
$qb->andWhere($or);
|
||||
|
Loading…
x
Reference in New Issue
Block a user