Bugzilla – Attachment 154398 Details for
Bug 34493
Bad indenting in search_indexes.inc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34493: Fix indenting in search_indexes.inc
Bug-34493-Fix-indenting-in-searchindexesinc.patch (text/plain), 9.64 KB, created by
Victor Grousset/tuxayo
on 2023-08-13 00:05:00 UTC
(
hide
)
Description:
Bug 34493: Fix indenting in search_indexes.inc
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2023-08-13 00:05:00 UTC
Size:
9.64 KB
patch
obsolete
>From 0426706d404e91ed0ec056179efb81320a9af9c5 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 7 Aug 2023 13:11:14 -1000 >Subject: [PATCH] Bug 34493: Fix indenting in search_indexes.inc > >Bug 32683 broke indenting in koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >Not on purpose looks like. > >Test plan : >1) Look at changes to validate indenting >2) Run prove xt/tt_valid.t > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > .../prog/en/includes/search_indexes.inc | 74 +++++++++---------- > 1 file changed, 37 insertions(+), 37 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >index 2b8879be31..f668fdcc9b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >@@ -4,167 +4,167 @@ > [% ELSE %] > <select class="advsearch" name="idx" id="idx"> > [% END %] >-[% IF ms_kw %] >+ [% IF ms_kw %] > <option selected="selected" value="kw">Keyword</option> > [% ELSE %] > <option value="kw">Keyword</option> > [% END %] >-[% IF ms_kwcommaphr %] >+ [% IF ms_kwcommaphr %] > <option selected="selected" value="kw,phr"> Keyword as phrase</option> > [% ELSE %] > <option value="kw,phr"> Keyword as phrase</option> > [% END %] >-[% IF ms_au %] >+ [% IF ms_au %] > <option selected="selected" value="au">Author</option> > [% ELSE %] > <option value="au">Author</option> > [% END %] >-[% IF ms_aucommaphr %] >+ [% IF ms_aucommaphr %] > <option selected="selected" value="au,phr"> Author as phrase</option> > [% ELSE %] > <option value="au,phr"> Author as phrase</option> > [% END %] >-[% IF ms_cpn %] >+ [% IF ms_cpn %] > <option selected="selected" value="cpn"> Corporate name</option> > [% ELSE %] > <option value="cpn"> Corporate name</option> > [% END %] >-[% IF ms_cfn %] >+ [% IF ms_cfn %] > <option selected="selected" value="cfn"> Conference name</option> > [% ELSE %] > <option value="cfn"> Conference name</option> > [% END %] >-[% IF ms_cpncommaphr %] >+ [% IF ms_cpncommaphr %] > <option selected="selected" value="cpn,phr"> Corporate name as phrase</option> > [% ELSE %] > <option value="cpn,phr"> Corporate name as phrase</option> > [% END %] >-[% IF ms_cfncommaphr %] >+ [% IF ms_cfncommaphr %] > <option selected="selected" value="cfn,phr"> Conference name as phrase</option> > [% ELSE %] > <option value="cfn,phr"> Conference name as phrase</option> > [% END %] >-[% IF ms_pn %] >+ [% IF ms_pn %] > <option selected="selected" value="pn"> Personal name</option> > [% ELSE %] > <option value="pn"> Personal name</option> > [% END %] >-[% IF ms_pncommaphr %] >+ [% IF ms_pncommaphr %] > <option selected="selected" value="pn,phr"> Personal name as phrase</option> > [% ELSE %] > <option value="pn,phr"> Personal name as phrase</option> > [% END %] >-[% IF ms_ti %] >+ [% IF ms_ti %] > <option selected="selected" value="ti">Title</option> > [% ELSE %] > <option value="ti">Title</option> > [% END %] >-[% IF ms_ticommaphr %] >+ [% IF ms_ticommaphr %] > <option selected="selected" value="ti,phr"> Title as phrase</option> > [% ELSE %] > <option value="ti,phr"> Title as phrase</option> > [% END %] >-[% IF ms_se %] >+ [% IF ms_se %] > <option selected="seleced" value="se"> Series title</option> > [% ELSE %] > <option value="se"> Series title</option> > [% END %] >-[% IF ms_su %] >+ [% IF ms_su %] > <option selected="selected" value="su">Subject</option> > [% ELSE %] > <option value="su">Subject</option> > [% END %] >-[% IF ms_sucommaphr %] >+ [% IF ms_sucommaphr %] > <option selected="selected" value="su,phr"> Subject as phrase</option> > [% ELSE %] > <option value="su,phr"> Subject as phrase</option> > [% END %] >-[% IF ( expanded_options ) %] >-[% IF ms_sudashbr %] >+ [% IF ( expanded_options ) %] >+ [% IF ms_sudashbr %] > <option selected="selected" value="su-br"> Subject and broader terms</option> > [% ELSE %] > <option value="su-br"> Subject and broader terms</option> > [% END %] >-[% IF ms_sudashna %] >+ [% IF ms_sudashna %] > <option selected="selected" value="su-na"> Subject and narrower terms</option> > [% ELSE %] > <option value="su-na"> Subject and narrower terms</option> > [% END %] >-[% IF ms_sudashrl %] >+ [% IF ms_sudashrl %] > <option selected="selected" value="su-rl"> Subject and related terms</option> > [% ELSE %] > <option value="su-rl"> Subject and related terms</option> > [% END %] > [% END %] >-[% IF ms_bc %] >+ [% IF ms_bc %] > <option selected="selected" value="bc">Barcode</option> > [% ELSE %] > <option value="bc">Barcode</option> > [% END %] >-[% IF ms_locationcommawrdl %] >+ [% IF ms_locationcommawrdl %] > <option selected="selected" value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option> > [% ELSE %] > <option value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option> > [% END %] >-[% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %] >-[% IF ms_identcommaphr %] >+ [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %] >+ [% IF ms_identcommaphr %] > <option selected="selected" value="ident,phr">Standard number</option> > [% ELSE %] > <option value="ident,phr">Standard number</option> > [% END %] > [% ELSE %] >-[% IF ms_ident %] >+ [% IF ms_ident %] > <option selected="selected" value="ident">Standard number</option> > [% ELSE %] > <option value="ident">Standard number</option> > [% END %] > [% END %] >-[% IF ms_nb %] >+ [% IF ms_nb %] > <option selected="selected" value="nb"> ISBN</option> > [% ELSE %] > <option value="nb"> ISBN</option> > [% END %] >-[% IF ms_ns %] >+ [% IF ms_ns %] > <option selected="selected" value="ns"> ISSN</option> > [% ELSE %] > <option value="ns"> ISSN</option> > [% END %] >-[% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %] >-[% IF ms_callnumcommaphr %] >+ [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %] >+ [% IF ms_callnumcommaphr %] > <option selected="selected" value="callnum,phr"> Call number</option> > [% ELSE %] > <option value="callnum,phr"> Call number</option> > [% END %] > [% ELSE %] >-[% IF ms_callnum %] >+ [% IF ms_callnum %] > <option selected="selected" value="callnum"> Call number</option> > [% ELSE %] > <option value="callnum"> Call number</option> > [% END %] > [% END %] >-[% IF ms_lncommartrn %] >+ [% IF ms_lncommartrn %] > <option selected="selected" value="ln,rtrn">Language</option> > [% ELSE %] > <option value="ln,rtrn">Language</option> > [% END %] >-[% IF ms_nt %] >+ [% IF ms_nt %] > <option selected="selected" value="nt">Notes/Comments</option> > [% ELSE %] > <option value="nt">Notes/Comments</option> > [% END %] >-[% IF (marcflavour != 'UNIMARC' ) %] >-[% IF ms_curriculum %] >+ [% IF (marcflavour != 'UNIMARC' ) %] >+ [% IF ms_curriculum %] > <option selected="selected" value="curriculum">Curriculum</option> > [% ELSE %] > <option value="curriculum">Curriculum</option> > [% END %] > [% END %] >-[% IF ms_pb %] >+ [% IF ms_pb %] > <option selected="selected" value="pb">Publisher</option> > [% ELSE %] > <option value="pb">Publisher</option> > [% END %] >-[% IF ms_pl %] >+ [% IF ms_pl %] > <option selected="selected" value="pl">Publisher location</option> > [% ELSE %] > <option value="pl">Publisher location</option> >@@ -176,12 +176,12 @@ > [%# http://www.loc.gov/marc/bibliographic/bd008a.html %] > [%# This search is also for date ranges due to the %] > [%# special Zebra r=r CCL mapping for 'yr' %] >-[% IF ms_yrcommastdashyear %] >+ [% IF ms_yrcommastdashyear %] > <option selected="selected" value="yr,st-year">Publication date (yyyy-yyyy)</option> > [% ELSE %] > <option value="yr,st-year">Publication date (yyyy-yyyy)</option> > [% END %] >-[% IF ms_acqdatecommastdashdatedashnormalized %] >+ [% IF ms_acqdatecommastdashdatedashnormalized %] > <option selected="selected" value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option> > [% ELSE %] > <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option> >-- >2.41.0
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 34493
:
154311
|
154312
| 154398