Skip to content
Snippets Groups Projects
Commit bf76106e authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-4.0'

parents d3d54d54 70f5dbe4
No related merge requests found
......@@ -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
......
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