Bug 26866 - Items table on additem should sort by cn_sort
Summary: Items table on additem should sort by cn_sort
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-29 16:37 UTC by Andrew Fuerste-Henry
Modified: 2020-11-01 00:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2020-10-29 16:37:08 UTC
To recreate:
- create a bib
- add three items with source of classification LCC, call numbers:
-- JC43 .G6 1890
-- JC330 .F74 2000
-- JC480 .R63 2006
- on additem.pl, sort the items table by "Full 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 Katrin Fischer 2020-10-29 22:13:49 UTC
Andrew, could you test bug 25897 maybe? If that solution works well, we might be able to apply it in other places.
Comment 2 Andrew Fuerste-Henry 2020-10-29 22:36:49 UTC
Happy to! It worked!
Comment 3 Katrin Fischer 2020-11-01 00:47:21 UTC
Thx, Andrew!