Commit 8a05b737 by Yvon Kerdoncuff

fix findOrderByNameExcludeInactiveUser request

parent fedcd0ea
...@@ -119,9 +119,8 @@ class AdherentRepository extends ServiceEntityRepository ...@@ -119,9 +119,8 @@ class AdherentRepository extends ServiceEntityRepository
return $qb return $qb
->leftjoin('p.user', 'u') ->leftjoin('p.user', 'u')
->where('p.enabled = :enabled') ->where('p.enabled = :enabled')
->where('u.enabled = :userEnabled') ->andWhere('u.enabled = :userEnabled')
->setParameter('enabled', true) ->setParameters(['enabled' => true, 'userEnabled' => true])
->setParameter('userEnabled', true)
->orderBy('u.lastname', 'ASC') ->orderBy('u.lastname', 'ASC')
->getQuery() ->getQuery()
->getResult() ->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