From b0e31843a94dc7440eb6b696ef848fa55b227512 Mon Sep 17 00:00:00 2001 From: Ere Maijala <ere.maijala@helsinki.fi> Date: Thu, 21 May 2015 12:06:23 +0300 Subject: [PATCH] Fixed displaying hierarchical facet values without translations in the facet tree. --- .../VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php b/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php index e96db284ad5..7b62c2b269c 100644 --- a/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php +++ b/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php @@ -207,7 +207,8 @@ class HierarchicalFacetHelper $displayText = $item['displayText']; if ($displayText == $item['value']) { // Only show the current level part - $displayText = $this->formatDisplayText($displayText); + $displayText = $this->formatDisplayText($displayText) + ->getDisplayString(); } list($level, $value) = explode('/', $item['value'], 2); -- GitLab