feat: filter assignments and applications by country
closes #8698fpqq5
This commit is contained in:
@@ -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