Bugzilla – Attachment 137446 Details for
Bug 31069
Did you mean? in the OPAC - links have <span> tags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31069: fix <span> in OPAC search suggestions (Did you mean)
Bug-31069-fix-span-in-OPAC-search-suggestions-Did-.patch (text/plain), 1.42 KB, created by
David Nind
on 2022-07-09 09:24:48 UTC
(
hide
)
Description:
Bug 31069: fix <span> in OPAC search suggestions (Did you mean)
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-07-09 09:24:48 UTC
Size:
1.42 KB
patch
obsolete
>From 9904e06ab1edf2e3d42ed18978eb692846ef29db Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Sat, 9 Jul 2022 05:39:39 +0200 >Subject: [PATCH] Bug 31069: fix <span> 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 <span> after "Did you mean:" > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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' -%] >-<span>Search also for narrower subjects</span> >+[% t('Search also for narrower subjects') | html %] > [%- CASE 'su-br' -%] >-<span>Search also for broader subjects</span> >+[% t('Search also for broader subjects') | html %] > [%- CASE 'su-rl' -%] >-<span>Search also for related subjects</span> >+[% t('Search also for related subjects') | html %] > [%- END -%] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31069
:
136756
|
137444
|
137446
|
137698
|
137824