]> git.koha-community.org Git - koha.git/commit
Bug 8837: Dewey cn_sort inaccurate
authorsimith <simith@inlibro.com>
Wed, 6 Aug 2014 13:11:47 +0000 (09:11 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 12:39:29 +0000 (09:39 -0300)
commita61c3a76881aca4a5910bbb0bb3683f14d916f52
tree421a80c14fd06a9a0da6938e0fc88ec0f407cb35
parent7690127d919cb69fab840628058aab2ba58180f3
Bug 8837: Dewey cn_sort inaccurate

This patch fix the cn_sort sorting accurace described by Joy Nelson.

Testing:

I) Appy the bug 12424 patch

Before applying this patch:
0) Select 3 items.
1) Edit the items selected
2) Change "Full call number" option to 971/P23w/v.1-2/pt.8, 971.01/P23w/v.1-2/pt.6-7 and 971.01/P23w/v.1-2/pt.7
3) Save changes
4) Valide 971P23WV_12PT_8_000000000000000, 971_000000000000000_01P23WV_12PT_67 and 971_01P23WV_12PT_700000000000000  (table items - cn_sort column).

After applying this patch:
5) Edit again the item selected in 0
3) Save changes
4) Valide 971_000000000000000_P23W_V_12_PT_8, 971_010000000000000_P23W_V_12_PT_67, 971_010000000000000_P23W_V_12_PT_7 (table items - cn_sort column).

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/ClassSortRoutine/Dewey.pm