Commit 8a05b737 by Yvon Kerdoncuff

fix findOrderByNameExcludeInactiveUser request

parent fedcd0ea
......@@ -119,9 +119,8 @@ class AdherentRepository extends ServiceEntityRepository
return $qb
->leftjoin('p.user', 'u')
->where('p.enabled = :enabled')
->where('u.enabled = :userEnabled')
->setParameter('enabled', true)
->setParameter('userEnabled', true)
->andWhere('u.enabled = :userEnabled')
->setParameters(['enabled' => true, 'userEnabled' => true])
->orderBy('u.lastname', 'ASC')
->getQuery()
->getResult()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment