addFilterByMerchantOptionnal($query); return $query; } public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface { return $query; } public function getJoinGroupUsers(){ $query = $this->createQuery(); $query->joinGroupUsers(true); $query->orderBy('id'); return $query->find(); } }