From 2a6b6de1fd4cef06e3284a0baa816756eedc22ef Mon Sep 17 00:00:00 2001
From: Dorian Merz <merz@ub.uni-leipzig.de>
Date: Thu, 9 Aug 2018 14:22:26 +0200
Subject: [PATCH] refs #13783 * apply AllowFacetValues to advanced search

---
 themes/finc/templates/search/advanced/solr.phtml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/themes/finc/templates/search/advanced/solr.phtml b/themes/finc/templates/search/advanced/solr.phtml
index 82bad4aee83..8aba06e6794 100644
--- a/themes/finc/templates/search/advanced/solr.phtml
+++ b/themes/finc/templates/search/advanced/solr.phtml
@@ -7,6 +7,8 @@
     <? endif; ?>
     <? /* finc: we need the limiter-boxes class to set select height to auto + remove bg image - CK */ ?>
     <div class="solr-facet-container limiter-boxes">
+      <? //narrow the facet list via whitespace from config, #13783, DM
+         $this->facetList = $this->sideFacet()->displayAllowedFacetValues($this->facetList); ?>
       <? foreach ($this->facetList as $field => $list): ?>
         <div class="solr-adv-facet">
           <label for="limit_<?=$this->escapeHtmlAttr(str_replace(' ', '', $field))?>"><?=$this->transEsc($list['label'])?>:</label>
-- 
GitLab