https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43072 --- Comment #5 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 202889 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202889&action=edit Bug 43072: (Bug 41267 follow-up) Add default rules when not set Bug 41267 defined the new rule, but didn't set the default. For consistencies sake we should create these in the DB To test: 1 - Create 'Default holds and bookings policies by item type' for two itemtypes Set 'Fill other record level holds on record at checkout' to yes for one and no for the other 2 - Apply this patch 3 - updatedatabase 4 - Verify the rules are not altered 5 - Chekc the DB: SELECT * FROM circulation_rules WHERE branchcode IS NULL and categorycode IS NULL; 6 - Note the number of rules/ids 7 - Run the DB update and confirm nothing changes 8 - DELETE from circulation_rules WHERE rule_name='fill_other_biblio_holds_policy'; 9 - Run the DB update 10 - Confirm rules are replaced, both as yes 11 - Delete a single one of the rules now: DELETE from circulation_rules WHERE rule_name='fill_other_biblio_holds_policy' AND id=#; 12 - Run the DB update 13 - Confirm only that rule is replaced 14 - DELETE from circulation_rules WHERE branchcode IS NULL and categorycode IS NULL; 15 - Run the DB update 16 - No new rules are created follo# Koha/.Patrons.pm.swp -- You are receiving this mail because: You are watching all bug changes.