]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix Dewey call number sorting
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Sun, 11 Dec 2011 00:49:01 +0000 (16:49 -0800)
committerDan Scott <dscott@laurentian.ca>
Fri, 16 Dec 2011 19:12:56 +0000 (14:12 -0500)
commit6e82aa5a4fd1899a411c5e3fd0b678d24abbf22c
tree1999d3cb750be6d7517b08e4ca0434def4117085
parentaec9efe6948a0ad8858ea421e15355cfdf4d4b6f
Fix Dewey call number sorting

Ported over Koha commit aef8358c - fix for Koha Bug 4265.
Further documented in Evergreen LP # 902667
Here's the description from the commit message by Magnus Enger:

C4::ClassSortRoutine::Dewey turns "306 Les" into "306_Les"
for items.cn_sort and MARC-field 952$6, which results in
"306.46 Les" being sorted before "306 Les" in the OPAC.
With this patch, "306 Les" is turned into "306_000000000000000_Les".

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/upgrade/xxxx.dewey-sort-fix.sql [new file with mode: 0644]