Bug 40535 - Branches.tt view page has out of place "Category:" field
Summary: Branches.tt view page has out of place "Category:" field
Status: Pushed to stable
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Lucas Gass (lukeg)
QA Contact: Emily Lamancusa (emlam)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-28 21:11 UTC by Lucas Gass (lukeg)
Modified: 2025-08-22 08:30 UTC (History)
2 users (show)

See Also:
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 (1.31 KB, patch)
2025-07-28 21:13 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 40535: Removed category from branches.tt view (1.35 KB, patch)
2025-07-28 22:13 UTC, David Nind
Details | Diff | Splinter Review
Bug 40535: Removed category from branches.tt view (1.42 KB, patch)
2025-07-29 17:48 UTC, Emily Lamancusa (emlam)
Details | Diff | Splinter Review
Bug 40535: (QA follow-up) Remove unused category field from edit page (2.29 KB, patch)
2025-07-29 17:48 UTC, Emily Lamancusa (emlam)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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