diff --git a/classes/doi/Repository.php b/classes/doi/Repository.php index 706fc029993..1231424d211 100644 --- a/classes/doi/Repository.php +++ b/classes/doi/Repository.php @@ -261,7 +261,7 @@ public function isAssigned(int $doiId, string $pubObjectType): bool return Repo::submissionFile() ->getCollector() ->getQueryBuilder() - ->safeCount(); + ->getCountForPagination(); }; $isAssigned = match ($pubObjectType) {