feat: filter assignments and applications by country
closes #8698fpqq5
This commit is contained in:
@@ -169,6 +169,13 @@ class AssignmentRepository extends ServiceEntityRepository
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
if (null !== $country = $filterDto->getCountry()) {
|
||||
$qb
|
||||
->andWhere($qb->expr()->eq('destination.country', ':country'))
|
||||
->setParameter('country', $country)
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
public function getBookmarkQueryForTeamer(Teamer $teamer): Query
|
||||
|
||||
Reference in New Issue
Block a user