From 8d2c1240c8c5e0400cf9b625577a63a7ebe59b8c Mon Sep 17 00:00:00 2001 From: Vitalii Bezsheiko Date: Wed, 12 Jun 2024 15:54:36 +0300 Subject: [PATCH 1/2] pkp/pkp-lib#9965 Anonymize reviewer name in submission schema --- classes/submission/maps/Schema.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/classes/submission/maps/Schema.php b/classes/submission/maps/Schema.php index 37e437f94ee..68036ae8bc4 100644 --- a/classes/submission/maps/Schema.php +++ b/classes/submission/maps/Schema.php @@ -17,6 +17,7 @@ use APP\press\FeatureDAO; use APP\press\NewReleaseDAO; use APP\submission\Submission; +use Illuminate\Support\Collection; use PKP\db\DAORegistry; class Schema extends \PKP\submission\maps\Schema @@ -34,9 +35,9 @@ protected function getSubmissionsListProps(): array } /** @copydoc \PKP\submission\maps\Schema::mapByProperties() */ - protected function mapByProperties(array $props, Submission $submission): array + protected function mapByProperties(array $props, Submission $submission, bool|Collection $anonymizeReviews = false): array { - $output = parent::mapByProperties($props, $submission); + $output = parent::mapByProperties($props, $submission, $anonymizeReviews); if (in_array('urlPublished', $props)) { $output['urlPublished'] = $this->request->getDispatcher()->url( From 0b77287d1b8e1f3bd2efbd02a14ac81991923a8b Mon Sep 17 00:00:00 2001 From: Vitalii Bezsheiko Date: Wed, 12 Jun 2024 15:55:12 +0300 Subject: [PATCH 2/2] Submodule update ##Vitaliy-1/i9965_submission_reviews## --- lib/pkp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pkp b/lib/pkp index ed96a30fbb2..50224038972 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit ed96a30fbb2df923ceaaad4e9e3396fc25906c74 +Subproject commit 502240389728e58998cc5f25ca356a7359a8d087