Affects Version/s: 7.x-1.8
Fix Version/s: None
Component/s: Solr Search
In the parsing and display of facets, should a string end with a double-quote, the double-quote will presently get stripped off, showing the value without the terminal double-quote.
... IslandoraSolrResults::formatFilter() could possibly use something of an overhaul: Looks like there may be other issues there regarding boolean operators, with double-quotes being more widely suppressed when boolean operators are present in filters.
- Enable blocks:
- "Islandora facets" and
- "Islandora query"
- Ingest an object with a label ending with a double-quote.
- Configure a facet in Solr to use an untokenized version of the label field (make sure the "minimum count" is set to 1).
- Perform a query which should show the previously ingested object in the facets.
- Select the label ending in the double-quote to filter results.
In both the "Islandora query" block and the displayed breadcrumbs, the listed facet is displayed without the terminal double-quote.
The above "Steps to Reproduce" should result in the "Islandora query" block and breadcrumbs displaying the full value selected from the facets.
discoverygarden inc. | Managing Digital Content