Bug 26867

Summary: Holds to Pull should use cn_sort
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, sam.sowanick
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25897
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2020-10-29 16:43:08 UTC
To recreate:
- create three bibs, each with one item. those items should have these call numbers:
-- JC43 .G6 1890
-- JC330 .F74 2000
-- JC480 .R63 2006
- place an item level hold on each item
- go to Holds To Pull, sort by call number 
- notice items are order incorrectly, going 330, 43, 480
- use a report to pull the cn_sort values for your 3 items, confirm that ordering by cn_sort in your report correctly orders them 43, 330, 480

We should use cn_sort here to get them in the correct order.
Comment 1 SamSowanick 2025-03-27 18:58:01 UTC
+1 We are seeing improperly sorted items on our picklist. If sorting by CN_SORT solves this, I think it would be a good idea. I don't know how to do this but hope this comment bumps this closer to a developers lap :).