https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19915 --- Comment #39 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 81821 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81821&action=edit Bug 19915: Make behaviour syspref controlled To test: 0 - Apply patch, run updatedatabase 1 - Catalog an item under LCC classification source with callnumber GT95 2 - Check db, cn_sort should calculate as GT0095 SELECT cn_sort FROM items where callnumber="GT95"; 3 - Catalog an item under LCC classification source with callnumber GT101 4 - Check db, cn_sort should calculate as GT0101 SELECT cn_sort FROM items where callnumber="GT101"; 5 - Go to inventory tool 6 - Enter a range from GT90 to GT100 7 - Neither item is not returned 8 - Enter range from GT100 to GT90 9 - Second item is returned 10 - Set UseCNSortForInventory to 'Use' 11 - Go to invenotry tool 12 - Enter a range from GT90 to GT100 13 - The first item is returned, the second is not 14 - Enter a range from GT100 to GT90 15 - Neither item is returned 16 - prove -v t/db_dependent/Items/GetItemsForInventory.t -- You are receiving this mail because: You are watching all bug changes.