]> git.koha-community.org Git - koha.git/commit
Bug 9770: test case for sorting of Dewey call numbers that contain prefixes
authorJason Etheridge <jason@esilibrary.com>
Fri, 21 Jun 2013 19:31:32 +0000 (15:31 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 25 Jul 2013 14:53:50 +0000 (11:53 -0300)
commit926e455f19852c1c7b69aa00bd587caff8bccd14
tree56f99aaac898390d9bfc7f1c7d8a9e50dd1a13b6
parenta777f2e6b7748a1cb417a38aa078e9f1bf7246b3
Bug 9770: test case for sorting of Dewey call numbers that contain prefixes

This adds a test for C4::ClassSortRoutine::Dewey to check that the
call number "JR DVD 800.1" sorts before "JR DVD 900"

To test:

[1] Apply just this patch.
[1] Run prove -v t/ClassSortRoutine_Dewey.t
[2] Test #7 should fail.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes test plan and QA script.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit bce45b4bf55e82345efed2850d9cb5fd77f3c483)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/ClassSortRoutine_Dewey.t