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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add and correct history table entries when items are moved to another collection

amyehodge opened this issue · comments

  1. When an item is moved to another collection, an entry is logged in the history table for that item at the bottom of the view page, but it lacks a label in the left column.

See https://sdr.stanford.edu/works/5242 for an example, also screenshotted below.

Screen Shot 2024-02-02 at 2 14 34 PM

  1. In the case shown above, where the "description of changes" should include the title of the collection, this one is showing the description of the collection instead of the title.

However, this is not happening in all cases. See https://sdr.stanford.edu/works/2759 (or works 3180, 6626, or 6584), which are missing the label as above but have the correct collection title in the "description of changes."

Screenshot 2024-02-05 at 10 26 48 AM