Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamelers committed Dec 17, 2024
1 parent a97b058 commit cbcc64b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/stash_engine/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,7 @@ def create_post_submission_status(prior_cur_act)
# create submitted status
curation_activities << StashEngine::CurationActivity.create(user_id: attribution, status: target_status, note: curation_note)
# immediately create published status
update(publication_date: previous_resource.publication_date)
target_status = previous_resource.last_curation_activity.status
curation_note = "Auto-published with minimal changes to #{changes.join(', ')}"
end
Expand Down

0 comments on commit cbcc64b

Please sign in to comment.