@@ -21,7 +21,7 @@ class UserRepositoryQuery extends AbstractRepositoryQuery implements UserReposit | |||
if (!$this->isJoinGroupUsers) { | |||
$this->isJoinGroupUsers = true; | |||
$this->innerJoin('.groupUsers', 'groupUsers'); | |||
$this->leftJoin('.groupUsers', 'groupUsers'); | |||
if($addSelect){ | |||
$this->addSelect('groupUsers'); | |||
} |