Bugzilla – Attachment 184268 Details for
Bug 36518
Add unique IDs to the fieldsets of the item search form to facilitate customization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36518: Add IDs to sections (fieldsets) on the item search form
Bug-36518-Add-IDs-to-sections-fieldsets-on-the-ite.patch (text/plain), 2.89 KB, created by
David Nind
on 2025-07-18 01:03:37 UTC
(
hide
)
Description:
Bug 36518: Add IDs to sections (fieldsets) on the item search form
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-07-18 01:03:37 UTC
Size:
2.89 KB
patch
obsolete
>From 94a209e30299b5a2240194d12c10368c29d3eb99 Mon Sep 17 00:00:00 2001 >From: Rachel A-M <anastasimarais@gmail.com> >Date: Thu, 17 Jul 2025 23:11:48 +0000 >Subject: [PATCH] Bug 36518: Add IDs to sections (fieldsets) on the item search > form > >This patch adds IDs to the fieldsets on the staff interface search form >(Search > Item search), to make CSS customization easier. > >Test plan: >1. Go to Search > Item search in the staff interface. >2. Right click: Inspect(Q) >3. Use ithe Search HTML bar to search for fieldset IDs: > - "librarylocation" > - "access_and_condition" > - "barcodesearch" > - "callnumber_checkouts" > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index a050fdf52e7..7add771b952 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -232,14 +232,14 @@ > <a href="/cgi-bin/koha/catalogue/search.pl" class="btn btn-default"><i class="fa fa-search"></i> Go to advanced search</a> > </div> > </div> >- <fieldset> >+ <fieldset id="librarylocation"> > [% INCLUDE form_field_select name="homebranch" options = branches %] > [% INCLUDE form_field_select name="holdingbranch" options = branches %] > [% IF locations.size %] > [% INCLUDE form_field_select name="location" options = locations %] > [% END %] > </fieldset> >- <fieldset> >+ <fieldset id="access_and_condition"> > [% INCLUDE form_field_select name="itype" options = itemtypes style="min-width:300px" %] > [% IF ccodes.size %] > [% INCLUDE form_field_select name="ccode" options = ccodes %] >@@ -278,7 +278,7 @@ > <label for="onloan_no">Not checked out</label> > </div> > </fieldset> >- <fieldset> >+ <fieldset id="barcodesearch"> > [% IF !query.param('f') %] > [% INCLUDE form_field_select_text %] > [% ELSE %] >@@ -290,7 +290,7 @@ > <p class="hint">% matches any number of characters</p> > <p class="hint">_ matches only a single character</p> > </fieldset> >- <fieldset> >+ <fieldset id="callnumber_checkouts"> > <div class="form-field"> > <label class="form-field-label" for="itemcallnumber_from">From call number:</label> > <input type="text" id="itemcallnumber_from" name="itemcallnumber_from" value="[% query.param('itemcallnumber_from') | html %]" /> >-- >2.39.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 36518
:
184254
| 184268