Merged in fix_invites_list_privacy (pull request #13)

Invite list privacy bug fix.
This commit is contained in:
Alexey Eschenko 2018-07-01 12:15:08 +00:00
commit 522d79bf2b

View file

@ -25,6 +25,9 @@ class InviteRepository extends ServiceEntityRepository
$qb
->select(['i', 'uu'])
->leftJoin('i.usedBy', 'uu')
->where('i.user = :user')
->orderBy('i.id', 'asc')
->setParameter('user', $user->getId())
;
return $qb->getQuery()->getResult();