feat: filter assignments and applications by country
closes #8698fpqq5
This commit is contained in:
1 parent
299c37c823
commit
947b183c50
10 files changed
+77
-5
No files matched your search
@@ -102,6 +102,13 @@ class ApplicationRepository extends ServiceEntityRepository
|
||||
}
|
||||
}
|
||||
|
||||
if (null !== $country = $filterDto->getCountry()) {
|
||||
$qb
|
||||
->andWhere($qb->expr()->eq('destination.country', ':country'))
|
||||
->setParameter('country', $country)
|
||||
;
|
||||
}
|
||||
|
||||
return $qb->getQuery();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user