Usergroup: Fix query condition to get groups by user

pull/5682/head
Angel Fernando Quiroz Campos 4 months ago
parent 0c364f1065
commit 07b5c93244
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 2
      src/CoreBundle/Repository/Node/UsergroupRepository.php

@ -50,7 +50,7 @@ class UsergroupRepository extends ResourceRepository
}
$qb->innerJoin('g.urls', 'u')
->andWhere('u.accessUrl = :urlId')
->andWhere('u.url = :urlId')
->setParameter('urlId', $this->accessUrlHelper->getCurrent()->getId())
;

Loading…
Cancel
Save