@@ -16,11 +16,10 @@ class GroupUserRepositoryQuery extends AbstractRepositoryQuery implements GroupU | |||
public function joinUsers(): self | |||
{ | |||
if (!$this->isJoinUsers) { | |||
$this->isJoinUsers = true; | |||
return $this | |||
->innerJoin('.users', 'users'); | |||
->leftJoin('.users', 'users'); | |||
} | |||
return $this; | |||
} |