Bugzilla – Attachment 187002 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.96 KB, created by
Laura Escamilla
on 2025-09-26 17:58:16 UTC
(
hide
)
Description:
Bug 36518: Add IDs to sections (fieldsets) on the item search form
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-09-26 17:58:16 UTC
Size:
2.96 KB
patch
obsolete
>From ae9b4a6ace48b4df755f6420336b1fc54be7bf77 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> >Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.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 11b3fc298d..e637321aba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -236,14 +236,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 %] >@@ -282,7 +282,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 %] >@@ -297,7 +297,7 @@ > <p><a href="/cgi-bin/koha/admin/items_search_fields.pl">Manage custom fields for item search</a></p> > [% END %] > </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
| 187002