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
better handling of location values in VlrBlacklightMapsHelperBehavior#link_to_placename_field #133
The current logic in VlrBlacklightMapsHelperBehavior#link_to_placename_field splits locations on commas, which works well for values like Boston, MA but poorly for values like Green Street, Jamaica Plain (from commonwealth:mp48vj55q) or 14 Green Street, Charlestown, Massachusetts (from commonwealth:fj237526j).
Improve the placename-handling logic so that links to these locations in the maplet popup dialog return the correct results.
See Trac #1686.
The current logic in
VlrBlacklightMapsHelperBehavior#link_to_placename_field
splits locations on commas, which works well for values likeBoston, MA
but poorly for values likeGreen Street, Jamaica Plain
(from commonwealth:mp48vj55q) or14 Green Street, Charlestown, Massachusetts
(from commonwealth:fj237526j).Improve the placename-handling logic so that links to these locations in the maplet popup dialog return the correct results.