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

--- Comment #35 from Brendan Lawlor <blaw...@clamsnet.org> ---
Thanks for the detailed test plan, Lisette!

This worked exactly how described.

Notes:
Once during testing the holds were filled differently than what was expected
from the plan, but I realized that it was because I was checking all the items
into Centerville. When I reset the item's current library to match the home
library the holds were fulfilled as expected from the test plan.

To help with getting set up to test this you can use this SQL and then continue
on from step 7:

-- set initial system preferences
UPDATE systempreferences SET value = '1' WHERE variable = 'LocalHoldsPriority';
UPDATE systempreferences SET value = 'HomeLibrary' WHERE variable =
'LocalHoldsPriorityPatronControl';
UPDATE systempreferences SET value = 'homebranch' WHERE variable =
'LocalHoldsPriorityItemControl';

-- create library groups
INSERT INTO library_groups (title,  ft_local_hold_group) VALUES ('Group 1', 1);
INSERT INTO library_groups (title,  ft_local_hold_group) VALUES ('Group 2', 1);
-- add libraries to groups 
INSERT INTO library_groups (parent_id,  branchcode) VALUES (1, 'CPL');
INSERT INTO library_groups (parent_id,  branchcode) VALUES (1, 'FFL');
INSERT INTO library_groups (parent_id,  branchcode) VALUES (2, 'FPL');
INSERT INTO library_groups (parent_id,  branchcode) VALUES (2, 'FRL');

-- set up patrons
UPDATE borrowers SET branchcode = 'CPL' WHERE cardnumber = '23529000035676';
UPDATE borrowers SET branchcode = 'FFL' WHERE cardnumber = '23529000050113'; 
UPDATE borrowers SET branchcode = 'FPL' WHERE cardnumber = '23529001000463'; 
UPDATE borrowers SET branchcode = 'FRL' WHERE cardnumber = '23529000121682';

-- set up items 
UPDATE items SET homebranch = 'FPL' WHERE barcode = '39999000000238';

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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