sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

Collection move events should also record the original collection #3466

Closed peetucket closed 10 months ago

peetucket commented 10 months ago

Currently when you move a work from one collection to another, the event says:

"Moved to {new_collection_name} collection"

But it would be useful to know where it was moved from, something like:

"Moved from {original collection name} to {new_collection_name} collection"

See https://github.com/sul-dlss/happy-heron/blob/main/app/controllers/work_move_controller.rb#L23-L43