fix error

This commit is contained in:
Ryan Prather 2025-01-10 14:55:43 +00:00
parent 178f44fd2d
commit 57e002916c

View File

@ -20,7 +20,7 @@ class MemberRepository extends ServiceEntityRepository
public function getCaseMembersByName(MemberCase $case): array public function getCaseMembersByName(MemberCase $case): array
{ {
return $this->createQueryBuilder('m') return $this->createQueryBuilder('m')
->andWhere('m.caseId = :case') ->andWhere('m.memberCase = :case')
->setParameter('case', $case->getId()->toBinary()) ->setParameter('case', $case->getId()->toBinary())
->orderBy('m.lastName, m.firstName', 'ASC') ->orderBy('m.lastName, m.firstName', 'ASC')
->getQuery() ->getQuery()