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>
This commit is contained in:
Rachel A-M 2025-07-17 23:11:48 +00:00 committed by Laura_Escamilla
parent 41e5334804
commit 6967fe8d02
No known key found for this signature in database
GPG Key ID: 56A7626A071C052F
1 changed files with 4 additions and 4 deletions

View File

@ -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 %]" />