Merged in fix_invites_list_privacy (pull request #13)
Invite list privacy bug fix.
This commit is contained in:
commit
522d79bf2b
|
@ -25,6 +25,9 @@ class InviteRepository extends ServiceEntityRepository
|
||||||
$qb
|
$qb
|
||||||
->select(['i', 'uu'])
|
->select(['i', 'uu'])
|
||||||
->leftJoin('i.usedBy', 'uu')
|
->leftJoin('i.usedBy', 'uu')
|
||||||
|
->where('i.user = :user')
|
||||||
|
->orderBy('i.id', 'asc')
|
||||||
|
->setParameter('user', $user->getId())
|
||||||
;
|
;
|
||||||
|
|
||||||
return $qb->getQuery()->getResult();
|
return $qb->getQuery()->getResult();
|
||||||
|
|
Loading…
Reference in a new issue