mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix the possibility to filter with multiple jobs or scopes
This commit is contained in:
@@ -75,7 +75,7 @@ class ReferrerJobFilter implements FilterInterface
|
||||
$qb->join('acpw.referrers', 'r');
|
||||
|
||||
$where = $qb->getDQLPart('where');
|
||||
$clause = $qb->expr()->eq('r.userJob', ':userjob');
|
||||
$clause = $qb->expr()->in('r.userJob', ':userjob');
|
||||
|
||||
if ($where instanceof Andx) {
|
||||
$where->add($clause);
|
||||
|
@@ -74,7 +74,7 @@ class ReferrerScopeFilter implements FilterInterface
|
||||
$qb->join('acpw.referrers', 'r');
|
||||
|
||||
$where = $qb->getDQLPart('where');
|
||||
$clause = $qb->expr()->eq('r.mainScope', ':scope');
|
||||
$clause = $qb->expr()->in('r.mainScope', ':scope');
|
||||
|
||||
if ($where instanceof Andx) {
|
||||
$where->add($clause);
|
||||
|
Reference in New Issue
Block a user