From 58f88aa913ce0b5c84b03e2a2e1f411b6d6014ed Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 23 Feb 2018 17:15:05 -0500 Subject: [PATCH] Prevent blank facet displays in lightbox full facet list. --- themes/bootstrap3/templates/search/facet-list.phtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/bootstrap3/templates/search/facet-list.phtml b/themes/bootstrap3/templates/search/facet-list.phtml index 3b73ba6ed09..6764d8bf1f0 100644 --- a/themes/bootstrap3/templates/search/facet-list.phtml +++ b/themes/bootstrap3/templates/search/facet-list.phtml @@ -40,8 +40,10 @@ <? endif; ?> <? if (!empty($item['displayText'])): ?> <?=$this->escapeHtml($item['displayText']) ?> - <? else: ?> + <? elseif (!empty($item['value'])): ?> <?=$this->escapeHtml($item['value']) ?> + <? else: ?> + (<?=strtolower($this->translate("empty")) ?>) <? endif; ?> <? if ($subLinks): ?> </a> -- GitLab