https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20961 --- Comment #2 from Barton Chittenden <barton@bywatersolutions.com> --- (In reply to Martin Renvoize from comment #1)
Given the conversation that took place in that email thread, do we actually need to add a new sort class for this rather than changing the existing one's behaviour to give the least surprise to users? Or perhaps create a new UDC.pm class which is simply a copy of the current Dewey one before altering the behaviour of Dewey at the very least?
Universal Decimal Classification / UDC being effectively what the current Dewey.pm acts correctly for UDC sorting...
I think the second option -- - Create a UDC cn_source / UDC.pm that retains the current behavior of Dewey.pm - Update Dewey.pm to 0-pad the digits before the decimal point is the way to go, although this will require some care, because cn_source is used widely in Koha -- there are tests for 'ddc' in xslt files, Koha/EDI.pm, and C4/Labels/Label.pm. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.