Skip to content

Commit

Permalink
Merge pull request pkp#1587 from Vitaliy-1/i9965_submission_reviews
Browse files Browse the repository at this point in the history
pkp/pkp-lib#9965 Anonymize reviewer names
  • Loading branch information
Vitaliy-1 authored Jun 12, 2024
2 parents 9539799 + 0b77287 commit 60e8d4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions classes/submission/maps/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down

0 comments on commit 60e8d4d

Please sign in to comment.