Bug 41030 - Copy number sorting incorrect
Summary: Copy number sorting incorrect
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: 24.11
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-15 22:18 UTC by David Roberts
Modified: 2025-10-16 02:54 UTC (History)
2 users (show)

See Also:
GIT URL:
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 David Roberts 2025-10-15 22:18:24 UTC
If a biblio has several copies which are numbered 1,2,3,4 etc, when sorting the holdings table by copy number it results in the display of 1,10,11,2,20,21 etc. This is on the cgi-bin/koha/catalogue/detail.pl page.
Comment 1 David Cook 2025-10-16 02:54:07 UTC
I have seen this one, and it's a tricky one, because I don't think copy number is strictly a number. It's technically text and could be something like "c. 1" or "c. 2", so lexicographic sorting gets used by default.