-
Notifications
You must be signed in to change notification settings - Fork 452
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
base: main
Are you sure you want to change the base?
Conversation
3c6ac0e
to
df8f65d
Compare
@@ -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 | |||
|
There was a problem hiding this comment.
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?
df8f65d
to
f83754d
Compare
// If it was viewed by the editor but not confirmed | ||
} else { | ||
return self::REVIEW_ASSIGNMENT_STATUS_VIEWED; | ||
} |
There was a problem hiding this comment.
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...
No description provided.