Skip to content

DEV-1631 Add collateral type to title#46

Open
AaronVr wants to merge 1 commit into
masterfrom
dev-1631-add-collateral-type-to-title
Open

DEV-1631 Add collateral type to title#46
AaronVr wants to merge 1 commit into
masterfrom
dev-1631-add-collateral-type-to-title

Conversation

@AaronVr

@AaronVr AaronVr commented Jan 20, 2026

Copy link
Copy Markdown

When looking up items based on pid, the current collateral results have titles that are not very meaningful (e.g., "Collateral: pid: <pid>"). It would be nice to display some human readable information about the collateral in the title to make them easier to understand.

We do this by checking each collateral_type against "openOt" and "closedOt". These are the only collateral types currently in use.

  1. If the type is "openOt", we append "(subtitles/openOT)" to the collateral title.
  2. If the type is "closedOt", we append "(subtitles/closedOT)" to the collateral title.

A possible addition could be to append object_use in case neither "openOt" nor "closedOt" are matched.

When creating the collateral sidecar for a collateral submission (i.e.,
a submission to the mam-collaterals bucket), add human readable info
regarding collateral type to the title. This is to make it easier to
distinguish collaterals based on title alone.
@AaronVr AaronVr requested a review from maartends January 20, 2026 10:32
@AaronVr AaronVr self-assigned this Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant