Bug 36518

Summary: Add unique IDs to the fieldsets of the item search form to enable customization
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Staff interfaceAssignee: anastasimarais <anastasimarais>
Status: RESOLVED FIXED QA Contact: Laura Escamilla <Laura.escamilla>
Severity: enhancement    
Priority: P5 - low CC: aleisha, david, fridolin.somers, gmcharlt, Laura.escamilla
Version: MainKeywords: Academy
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
This enhancement adds IDs to the fieldsets on the staff interface search form (Search > Item search), to make CSS customization easier. The fieldset IDs are: - Library and location section: librarylocation - Item information section: access_and_condition - Barcode search section: barcodesearch - Call number section: callnumber_checkouts
Version(s) released in:
25.11.00,25.05.07,24.11.12
Circulation function:
Attachments: Bug 36518: Add IDs to section (fieldsets) of the item form to make CSS customization easier.
Bug 36518: Add IDs to sections (fieldsets) on the item search form
Bug 36518: Add IDs to sections (fieldsets) on the item search form

Description Katrin Fischer 2024-04-04 10:21:29 UTC
It would be nice if we could add some IDs to the various section of the item form to make it easier to customize with CSS.
Comment 1 anastasimarais@gmail.com 2025-07-17 23:24:08 UTC
Created attachment 184254 [details] [review]
Bug 36518: Add IDs to section (fieldsets) of the item form to make CSS customization easier.

1. Navigate to Catalog > Item search

2. Right click: Inspect(Q)

3. Use Search HTML bar to search for fieldset IDs:
"librarylocation"
"access_and_condition"
"barcodesearch"
"callnumber_checkouts"
Comment 2 David Nind 2025-07-18 01:03:37 UTC
Created attachment 184268 [details] [review]
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>
Comment 3 David Nind 2025-07-18 01:07:45 UTC
Nice work and thanks for the patch!

I've updated the commit message to follow the guidelines (https://wiki.koha-community.org/wiki/Commit_messages) and added a release note.

David Nind
Comment 4 Laura Escamilla 2025-09-26 17:58:16 UTC
Created attachment 187002 [details] [review]
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>
Comment 5 Lucas Gass (lukeg) 2025-09-29 20:04:59 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 6 Laura Escamilla 2025-12-23 15:21:55 UTC
This change has been backported to the 25.05.x branch. Thank you!
Comment 7 David Nind 2025-12-23 16:37:28 UTC
No changes required to the manual.
Comment 8 Fridolin Somers 2025-12-26 09:15:14 UTC
Also useful for 24.11 LTS
Pushed to 24.11.x for 24.11.12