Bug 38333

Summary: Item detail table sorts by branchcode instead of branchname
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: andrew, chughesman, emily.lamancusa, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38130
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

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.