Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkp/pkp-lib#9799 Record review assignment view action #10233

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Vitaliy-1
Copy link
Collaborator

No description provided.

@@ -41,6 +41,7 @@ class ReviewAssignment extends \PKP\core\DataObject
public const REVIEW_ASSIGNMENT_CONSIDERED = 3; // Has been marked considered by an editor
public const REVIEW_ASSIGNMENT_UNCONSIDERED = 1; // Considered status has been revoked by an editor and is awaiting re-confirmation by an editor
public const REVIEW_ASSIGNMENT_RECONSIDERED = 2; // Considered status has been granted again by an editor
public const REVIEW_ASSIGNMENT_VIEWED = 4; // Editor opened a review assignment but hasn't marked it as considered yet

Copy link
Contributor

Choose a reason for hiding this comment

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

Could we also add REVIEW_ASSIGNMENT_STATUS_VIEWED?

// If it was viewed by the editor but not confirmed
} else {
return self::REVIEW_ASSIGNMENT_STATUS_VIEWED;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I would expect to return REVIEW_ASSIGNMENT_STATUS_VIEWED, when $this->getConsidered() === REVIEW_ASSIGNMENT_VIEWED.

But it has been long day...

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