fix the possibility to filter with multiple jobs or scopes

This commit is contained in:
Julie Lenaerts 2022-07-28 12:05:42 +02:00
parent 13b15f5057
commit d6b3ba48c0
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);