Summary: | cn_sort for DDC callnumbers should between 1 and 99 should be formatted as 001.* - 099.* | ||
---|---|---|---|
Product: | Koha | Reporter: | Barton Chittenden <barton> |
Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Barton Chittenden
2018-06-18 23:03:39 UTC
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... (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. The change would not be too hard to do, but is there someone who could test with deeper knowledge of the classification schemes? |