From 1672d0c1c0be45aba66c17b2024495852f1ab2fe Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Sat, 9 Jul 2022 05:39:39 +0200 Subject: [PATCH] Bug 31069: fix in OPAC search suggestions (Did you mean) == test plan == 1. Enable "Did you mean?": . go to Administration > Additional parameters > Did you mean? . put a tick in each plugin and save the configuration 2. In the OPAC, search for 'open source' 3. Without the patch you see escaped after "Did you mean:" Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- .../opac-tmpl/bootstrap/en/modules/text/explodedterms.tt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt index 2a21289e7e..356688367e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt @@ -1,8 +1,9 @@ +[% PROCESS 'i18n.inc' %] [%- SWITCH index -%] [%- CASE 'su-na' -%] -Search also for narrower subjects +[% t('Search also for narrower subjects') | html %] [%- CASE 'su-br' -%] -Search also for broader subjects +[% t('Search also for broader subjects') | html %] [%- CASE 'su-rl' -%] -Search also for related subjects +[% t('Search also for related subjects') | html %] [%- END -%] -- 2.39.5