diff --git a/src/Repository/UserRepository.php b/src/Repository/UserRepository.php index f46643c..3b3872e 100644 --- a/src/Repository/UserRepository.php +++ b/src/Repository/UserRepository.php @@ -86,8 +86,10 @@ class UserRepository extends ServiceEntityRepository implements PasswordUpgrader return $this->createQueryBuilder('u') ->orWhere('u.caseWorker = :case_worker') ->orWhere('u.caseManager = :case_manager') + ->orWhere('u.therapist = :therapist') ->setParameter('case_worker', true) ->setParameter('case_manager', true) + ->setParameter('therapist', true) ->orderBy('u.name', 'ASC') ->getQuery() ->getResult()