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

display relatedItem isReferencedBy href with label as link #22

Closed ebenenglish closed 2 years ago

ebenenglish commented 3 years ago

Some items have a displaylabel value for <mods:relatedItem type='isReferencedBy'> URLs.

<mods:relatedItem type='isReferencedBy' displayLabel='Interactive Map' 
  xlink:href='http://dsl.richmond.edu/panorama/redlining/#city=stamford,-darien,-and-new-canaan-ct' />

In those cases, we should display the label as a link, with the href value as the link address.

ebenenglish commented 2 years ago

This was implemented in https://github.com/boston-library/commonwealth-vlr-engine/commit/df56d53d5f3e1b603e8a88e47b66392e99c9ff8d