From daf6b8f4d523712acfa179baca8f1f839a526bef Mon Sep 17 00:00:00 2001 From: Lionel Walter <lionel.walter@unibas.ch> Date: Mon, 6 May 2019 19:12:22 +0000 Subject: [PATCH] Display AND operator in filter list (#1348) --- .../bootstrap3/templates/Recommend/SideFacets/filter-list.phtml | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/bootstrap3/templates/Recommend/SideFacets/filter-list.phtml b/themes/bootstrap3/templates/Recommend/SideFacets/filter-list.phtml index fa43b26a56e..557a69d31e1 100644 --- a/themes/bootstrap3/templates/Recommend/SideFacets/filter-list.phtml +++ b/themes/bootstrap3/templates/Recommend/SideFacets/filter-list.phtml @@ -20,6 +20,7 @@ <span class="sr-only"><?=$this->transEsc('clear_tag_filter') ?></span> <span class="text"> <?php if ($filter['operator'] == 'NOT'): ?><?=$this->transEsc('NOT') ?><?php endif; ?> + <?php if ($filter['operator'] == 'AND' && $i > 0): ?><?=$this->transEsc('AND') ?><?php endif; ?> <?php if ($filter['operator'] == 'OR' && $i > 0): ?><?=$this->transEsc('OR') ?><?php endif; ?> <?=$this->transEsc($field) ?>: <?=$this->escapeHtml($filter['displayText']) ?> </span> -- GitLab