Commit ce38b047 authored by mmrares's avatar mmrares Committed by StryKaizer

Issue #2919705 by mmrares, borisson_: Don't build facet in summary if facet is not active

parent 135a146f
......@@ -102,6 +102,10 @@ class DefaultFacetsSummaryManager {
);
foreach ($facets as $facet) {
// Do not build the facet in summary if facet is not rendered.
if (!$facet->getActiveItems()) {
continue;
}
// For clarity, process facets is called each build.
// The first facet therefor will trigger the processing. Note that
// processing is done only once, so repeatedly calling this method will
......
Markdown is supported
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