feat: filter assignments and applications by country

closes #8698fpqq5
This commit is contained in:
Björn Fromme
2025-04-08 17:48:44 +02:00
parent 299c37c823
commit 947b183c50
10 changed files with 77 additions and 5 deletions
+7
View File
@@ -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