Skip to content

Commit

Permalink
Fix merge failure that incorrectly (and silently) modified code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed Feb 7, 2023
1 parent dc5d265 commit a3cabab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/tamu/sage/service/SolrDiscoveryService.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public DiscoveryContext buildDiscoveryContext(DiscoveryView discoveryView, Strin

String filterKey = facetField.getKey();
if (filterMap.containsKey(filterKey)) {
String[] filterValues = filterMap.get(filterKey).split(","+FILTER_VALUE_PREFIX, -1);
filterValues[0] = filterValues[0].replace(FILTER_VALUE_PREFIX,"");
String[] filterValues = filterMap.get(filterKey).split("," + FILTER_VALUE_PREFIX, -1);
filterValues[0] = filterValues[0].replace(FILTER_VALUE_PREFIX, "");
for (int i = 0; i < filterValues.length; i++) {
Filter filter = new Filter();
filter.setKey(facetField.getKey());
Expand Down

0 comments on commit a3cabab

Please sign in to comment.