Skip to content

Commit

Permalink
pkp/pkp-lib#8700 Dropped safeCount() workaround in favor of getCountF…
Browse files Browse the repository at this point in the history
…orPagination()

(cherry picked from commit 158cce5)
  • Loading branch information
jonasraoni committed May 30, 2024
1 parent 08caa5a commit f3d0528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/doi/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public function isAssigned(int $doiId, string $pubObjectType): bool
return Repo::submissionFile()
->getCollector()
->getQueryBuilder()
->safeCount();
->getCountForPagination();
};

$isAssigned = match ($pubObjectType) {
Expand Down

0 comments on commit f3d0528

Please sign in to comment.