Bugzilla – Attachment 141531 Details for
Bug 31338
Show in advanced search when IncludeSeeFromInSearches is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31338: (follow-up) add special class and add also to OPAC
Bug-31338-follow-up-add-special-class-and-add-also.patch (text/plain), 2.83 KB, created by
Katrin Fischer
on 2022-10-07 21:46:34 UTC
(
hide
)
Description:
Bug 31338: (follow-up) add special class and add also to OPAC
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-07 21:46:34 UTC
Size:
2.83 KB
patch
obsolete
>From 3a9f975130203ecaa26d1d1dd9f0f072e3f57906 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 30 Sep 2022 18:53:47 -1000 >Subject: [PATCH] Bug 31338: (follow-up) add special class and add also to OPAC > >In order to easily hide this new text, this patch adds the class "included-see-from-headings-info". > >Also uses <div> instead of <p>. > >And adds the same feature to OPAC. > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 6 ++++++ > 2 files changed, 8 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index d2437f4d12..47852ee78e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -173,10 +173,10 @@ > [% END # /IF ( expanded_options ) %] > [% END #/IF Koha.Preference('SearchEngine') %] > [% IF Koha.Preference('IncludeSeeFromInSearches') %] >- <p class="hint"> >+ <div class="hint included-see-from-headings-info"> > <i class="fa fa-info-circle" aria-hidden="true"></i> > See from (non-preferred form) headings are included >- </p> >+ </div> > [% END %] > </fieldset> <!-- /#searchterms --> > <!-- /BOOLEAN SEARCH OPTIONS --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index a7cadb91e1..fa33c9f00c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -138,6 +138,12 @@ > [% ELSE %] > <input type="hidden" name="weight_search" value="1" /> > [% END %] >+ [% IF Koha.Preference('IncludeSeeFromInSearches') %] >+ <div class="hint included-see-from-headings-info"> >+ <i class="fa fa-info-circle" aria-hidden="true"></i> >+ See from (non-preferred form) headings are included >+ </div> >+ [% END %] > </div> <!-- /.search-terms --> > </fieldset> > </div> <!-- /#booleansearch --> >-- >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 31338
:
139008
|
139009
|
140882
|
140910
|
140911
|
141008
|
141010
|
141177
|
141178
|
141395
|
141396
|
141530
|
141531
|
144547
|
144548
|
144549