diff --git a/module/VuFind/src/VuFind/Search/Base/FacetCache.php b/module/VuFind/src/VuFind/Search/Base/FacetCache.php index 740bb2f7734e8d819658e93bd0beb1e9a3cd896f..f5083ebf89bdb5c8e3c4440260eb96d3a9f511d6 100644 --- a/module/VuFind/src/VuFind/Search/Base/FacetCache.php +++ b/module/VuFind/src/VuFind/Search/Base/FacetCache.php @@ -90,7 +90,13 @@ abstract class FacetCache protected function getCacheKey() { $params = $this->results->getParams(); - $settings = [$params->getFacetConfig(), $params->getHiddenFilters()]; + $facetConfig = $params->getFacetConfig(); + $settings = [ + $facetConfig, + $params->getHiddenFilters(), + // Factor operator settings into cache key: + array_map([$params, 'getFacetOperator'], array_keys($facetConfig)), + ]; return $this->language . md5(print_r($settings, true)); }