Bug 38333 - Item detail table sorts by branchcode instead of branchname
Summary: Item detail table sorts by branchcode instead of branchname
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-01 21:57 UTC by Lucas Gass (lukeg)
Modified: 2024-11-19 16:31 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2024-11-01 21:57:49 UTC
When sorting the item detail table on catalogue/detail.pl the current library and home library columns sort by the branchcode instead of the branchname. 

To recreate:

1. add a branch with code AAA and name ZZZ branch. And 1 with code ZZZ and AAA branch. 
2. Make some new items that belong to these branches on a given record. 
3. Sort by Home librray or current library. 
4. It sorts incorrectly by branchcode.
Comment 1 Lucas Gass (lukeg) 2024-11-19 16:31:56 UTC
Testing this today, this problem has been solved by Bug 38130. Closing this one.