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()
  • Loading branch information
jonasraoni committed May 23, 2024
1 parent ea45f32 commit 158cce5
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 158cce5

Please sign in to comment.