Skip to content
Snippets Groups Projects
Commit 834d0786 authored by Ere Maijala's avatar Ere Maijala
Browse files

Added support for keeping also the unprocessed Solr index fields when...

Added support for keeping also the unprocessed Solr index fields when processing hierarchical facets.
parent 20761c5e
No related merge requests found
...@@ -197,6 +197,8 @@ class HierarchicalFacetListener ...@@ -197,6 +197,8 @@ class HierarchicalFacetListener
if (!isset($fields[$facetName])) { if (!isset($fields[$facetName])) {
continue; continue;
} }
// Keep the original data too
$fields["__unprocessed_$facetName"] = $fields[$facetName];
if (is_array($fields[$facetName])) { if (is_array($fields[$facetName])) {
// If full facet display style is used, discard all but the // If full facet display style is used, discard all but the
// most significant value // most significant value
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment