fix search by birthdate

This commit is contained in:
Julien Fastré 2021-09-28 15:53:41 +02:00
parent d5d12c4a17
commit 472866ce91

View File

@ -199,7 +199,7 @@ final class PersonACLAwareRepository implements PersonACLAwareRepositoryInterfac
}
if (NULL !== $birthdate) {
$qb->andWhere($qb->expr()->eq('s.birthdate', ':birthdate'))
$qb->andWhere($qb->expr()->eq('p.birthdate', ':birthdate'))
->setParameter('birthdate', $birthdate);
}