Bugzilla – Attachment 144549 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.71 KB, created by
Fridolin Somers
on 2022-12-13 07:09:51 UTC
(
hide
)
Description:
Bug 31338: (follow-up) add special class and add also to OPAC
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-12-13 07:09:51 UTC
Size:
2.71 KB
patch
obsolete
>From f4be11c28b74cae9d4bf2cad4e91c77c67e43caa 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 6b66242633..9bffa10c40 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -197,10 +197,10 @@ > [% END %] > [% END %] > [% 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> > <!-- /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 c669dcaf32..3f0e874bfe 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.35.5
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