diff --git a/src/Repository/Traits/Repository.php b/src/Repository/Traits/Repository.php index abd5b19..3fcad40 100644 --- a/src/Repository/Traits/Repository.php +++ b/src/Repository/Traits/Repository.php @@ -38,7 +38,7 @@ public function getAclFilter(): AclFilter /** * Return native SQL query to get all ID. */ - protected function getAllIdsQuery(): string + public function getAllIdsQuery(): string { $connection = $this->getEntityManager()->getConnection(); $qb = $connection->createQueryBuilder()