diff --git a/module/VuFind/src/VuFind/Controller/SearchController.php b/module/VuFind/src/VuFind/Controller/SearchController.php index 45d69f2f3d8dfe93953328aca5103dc6fe686f82..c52008cc5ecd2758fff11bb5c47746a2480ecace 100644 --- a/module/VuFind/src/VuFind/Controller/SearchController.php +++ b/module/VuFind/src/VuFind/Controller/SearchController.php @@ -578,9 +578,10 @@ class SearchController extends AbstractSearch // Check if we have facet results cached, and build them if we don't. $cache = $this->serviceLocator->get('VuFind\CacheManager') ->getCache('object'); + $language = $this->serviceLocator->get('VuFind\Translator')->getLocale(); $hiddenFilters = $this->getActiveHiddenFilters(); $hiddenFiltersHash = md5(json_encode($hiddenFilters)); - $cacheName .= "List-$hiddenFiltersHash"; + $cacheName .= "List-$hiddenFiltersHash-$language"; if (!($list = $cache->getItem($cacheName))) { // Use advanced facet settings to get summary facets on the front page; // we may want to make this more flexible later. Also keep in mind that