boston-library / commonwealth-vlr-engine

Commonwealth-VLR-Engine is a Rails engine for creating Blacklight apps that provide access to content from Solr/Fedora, packaging a number of feature-rich enhancements and modifications.
Apache License 2.0
8 stars 2 forks source link

check for multiple alt title labels in metadata display #38

Closed ebenenglish closed 2 years ago

ebenenglish commented 2 years ago

In the catalog#show metadata view, the logic for displaying title_info_alternative needs to be updated to handle multiple values for title_info_alternative_label_ssm.

For an example, see bpl-dev:9p290b01g (1st item from the AllSupportedMODS_test-for-dev_DC3 spreadsheet).

This:

Below map: : Oath of fyremen
             Fyreman's oath

Should be:

Below map: :  Oath of fyremen
Related title: : Fyreman's oath

We should maybe also parse the label values and remove any trailing colons ":", since this is already added by the display.

ebenenglish commented 2 years ago

Fixed via b8254a7f0b1f4052c7df9ca2ed5ca7bbe2750198