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

--- Comment #64 from Marcel de Rooy <[email protected]> ---
(ADJUSTED) Testing notes (using KTD)
=========================

1. Reproduce the issue: Look for two call numbers that use the generic
classification filing rule.
Or change call number in two items to A 11 and A 9. Find cn_sort in the items
table for those two items.
Use a sql query like select itemcallnumber, cn_sort from items where
biblionumber=X order by cn_sort
You should see A_11 and A_9. (Sorting A_11 before A_9 while we like 9<11.)
2. Apply the patches
3. Update the database: updatedatabase
4. Restart everything: restart_all
5. Tests should pass: prove t/ClassSortRoutine_Generic.t
6. Add a few call number formats in the new ClassSortGenericFormats 
   system preference:
   "^A",1,3,1,2;; "^B",1,4
7. Enable generic call number sorting rules in the 
   Classification configuration (if no generic rule already):
   - Administration > Cataloging > Classification configuration
   - Classification filing rules - existing rule in place for KTD:
     . general, Generic call number filing rules, Generic
8. Edit some items and add call numbers (o - Full call number) as below.
    Make sure that item subfield $2 points to Other/Generic..
    A 1 12-1, A 2, B2, B22c, B123 45, C4
9. Check the following sql query:
    select itemcallnumber, cn_sort from items where biblionumber=X order by
cn_sort
    Does cn_sort match: A_001_121, A_2, B0002, B0022c, B0123_45, C4

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to