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

catalog#show maplet 'view items' links for non_hier_geo subject should not include ' (area_type)' #49

Closed ebenenglish closed 2 years ago

ebenenglish commented 2 years ago

When I am on the catalog#show page for an item that has a non_hier_geo geographic subject with an area_type qualifier And I click on the geographic subject in the maplet widget And I click on the location And I click on the View items from this location link The link URL should not include the ' (area_type)' value as part of the facet parameters

Example: commonwealth:ft84c986t This link URL segment:

search?f[subject_geographic_sim][]=Parthenon+(ancient+site)

Should be:

search?f[subject_geographic_sim][]=Parthenon

As of https://github.com/boston-library/curator/pull/225, the area_type qualifier is not included in the indexed string.

ebenenglish commented 2 years ago

Interesting case: commonwealth:2r36xf177

The maplet link for Parthenon (ancient site), Greece doesn't work properly, but the one for Lycabettus, Mount (hill), Greece does.