Bug 40535

Summary: Branches.tt view page has out of place "Category:" field
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Architecture, internals, and plumbingAssignee: Lucas Gass (lukeg) <lucas>
Status: Pushed to stable --- QA Contact: Emily Lamancusa (emlam) <emily.lamancusa>
Severity: normal    
Priority: P5 - low CC: david, emily.lamancusa
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
This removes a category field that was mistakenly added to the library's detail page (Koha administration > Basic parameters > Libraries > view any library).
Version(s) released in:
25.11.00,25.05.03
Circulation function:
Attachments: Bug 40535: Removed category from branches.tt view
Bug 40535: Removed category from branches.tt view
Bug 40535: Removed category from branches.tt view
Bug 40535: (QA follow-up) Remove unused category field from edit page

Description Lucas Gass (lukeg) 2025-07-28 21:11:41 UTC
TO recreate:

1. Go to Administration > Libraries and view a branch by clicking on the branch name.
2. Notice "Category:" field. 

This is supposed to be populated with [% category.categoryname | html %] 

I think this must be here by accident, I can't get data to populate the field. It should probably just be removed.
Comment 1 Lucas Gass (lukeg) 2025-07-28 21:13:09 UTC
Created attachment 184759 [details] [review]
Bug 40535: Removed category from branches.tt view

To test:
1. Go to Administration > Libraries and view a branch by clicking on the branch name.
2. Notice "Category:" field.
3. APPLY PATCH
4. The field should be gone.
Comment 2 David Nind 2025-07-28 22:13:03 UTC
Created attachment 184760 [details] [review]
Bug 40535: Removed category from branches.tt view

To test:
1. Go to Administration > Libraries and view a branch by clicking on the branch name.
2. Notice "Category:" field.
3. APPLY PATCH
4. The field should be gone.

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 Emily Lamancusa (emlam) 2025-07-29 17:48:20 UTC
Created attachment 184834 [details] [review]
Bug 40535: Removed category from branches.tt view

To test:
1. Go to Administration > Libraries and view a branch by clicking on the branch name.
2. Notice "Category:" field.
3. APPLY PATCH
4. The field should be gone.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Comment 4 Emily Lamancusa (emlam) 2025-07-29 17:48:23 UTC
Created attachment 184835 [details] [review]
Bug 40535: (QA follow-up) Remove unused category field from edit page

This field is outdated and will never display. It should be removed.

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Comment 5 Emily Lamancusa (emlam) 2025-07-29 17:49:34 UTC
Ha, looks like it's dead code from a feature that was removed 10 years ago. Nice catch!
Comment 6 Lucas Gass (lukeg) 2025-07-31 18:47:09 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 7 Paul Derscheid 2025-08-22 08:30:25 UTC
Nice work everyone!

Pushed to 25.05.x