From f3d0528d90314cc6b3630669454ea993c869a61b Mon Sep 17 00:00:00 2001 From: Jonas Raoni Soares da Silva Date: Thu, 23 May 2024 23:39:17 +0300 Subject: [PATCH] pkp/pkp-lib#8700 Dropped safeCount() workaround in favor of getCountForPagination() (cherry picked from commit 158cce59a8c271f50eb46ec491ae27a5700dd6dd) --- classes/doi/Repository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {