https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41932

--- Comment #5 from Marcel de Rooy <[email protected]> ---
Created attachment 193984
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193984&action=edit
Bug 41932: Adjust generic class sort to allow zero-padding

Test plan:
Run t/ClassSortRoutine_Generic.t
Add a few callnumber formats in ClassSortGenericFormats like:
    ^A:1,3;1,2;;^B:1,2
    In words: callnumber starts with A, 1 or more digits (pad to 3),
    then 1 or more digits (pad to 2). Or callnumber starts with B,
    one or more digits (pad to 2).
Enable generic call number sorting rules in Classification
configuration.
Now save a few items with callnumbers: 1 A 1, 10 A 2, B2, B11.
Check if cn_sort now matches: 001_A_01, 100_A_02, B02, B11.

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to