Skip to content

fix(search): allow author name search in editorial dashboard for user…#12416

Open
MrRob100 wants to merge 3 commits intopkp:stable-3_4_0from
MrRob100:my-queue-search-fix
Open

fix(search): allow author name search in editorial dashboard for user…#12416
MrRob100 wants to merge 3 commits intopkp:stable-3_4_0from
MrRob100:my-queue-search-fix

Conversation

@MrRob100
Copy link
Copy Markdown
Contributor

@MrRob100 MrRob100 commented Mar 5, 2026

This affects authors with review assignments

The Collector's searchPhrase logic blocked author name search for any user with assignedTo set who also had any review_assignment row, even historically. This was overly broad for the editorial dashboard where editors need to find submissions by author name.

Adds an allowAuthorSearch flag (default false, preserving existing behaviour everywhere) that PKPBackendSubmissionsHandler opts into, bypassing the reviewer restriction only for the /_submissions endpoint.

#12415

…s with review assignments

The Collector's searchPhrase logic blocked author name search for any
user with assignedTo set who also had any review_assignment row, even
historically. This was overly broad for the editorial dashboard where
editors need to find submissions by author name.

Adds an allowAuthorSearch flag (default false, preserving existing
behaviour everywhere) that PKPBackendSubmissionsHandler opts into,
bypassing the reviewer restriction only for the /_submissions endpoint.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@Vitaliy-1 Vitaliy-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If following the logic to allow search by authors if 1) the user has stage assignment 2) the review isn't double blind, I'd rather make correspondent changes directly to this part of the query builder:

->from('review_assignments', 'ra')

e.g.,

  1. join stage assignments for a check
  2. additional where to check review_method

@MrRob100
Copy link
Copy Markdown
Contributor Author

@Vitaliy-1 Thank you for the review, changes are in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants