Skip to content

Commit

Permalink
Merge pull request #1618 from datadryad/reject-cdn
Browse files Browse the repository at this point in the history
Add "withdrawn" to the list of statuses journals may use
  • Loading branch information
ahamelers authored Apr 23, 2024
2 parents 846a731 + ce80ad8 commit 2e119d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/stash_engine/manuscript.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def accepted?
end

def rejected?
rejected_statuses = ['rejected', 'transferred', 'rejected w/o review']
rejected_statuses = ['rejected', 'transferred', 'rejected w/o review', 'withdrawn']
rejected_statuses.include?(status)
end

Expand Down

0 comments on commit 2e119d9

Please sign in to comment.