DbUserGroupBackend: Group by group.id when joining group memberships

Prevents duplicate results in case a group has multiple members.
This commit is contained in:
Johannes Meyer 2016-11-11 09:19:59 +01:00
parent 3a619eb8c7
commit f7a8524dce
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class DbUserGroupBackend extends DbRepository implements UserGroupBackendInterfa
$this->requireTable('group_membership'),
'g.id = gm.group_id',
array()
);
)->group('g.id');
}
/**