]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaos-circ-holds-default-pickup-lib.sql
LP1699838 - add YOUSes for defaulting hold pickup locs
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.data.yaos-circ-holds-default-pickup-lib.sql
1 BEGIN;
2
3 -- SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version);
4
5 INSERT into config.org_unit_setting_type (name, label, grp, description, datatype)
6 values ('circ.staff_placed_holds_honor_patron_prefs_first','Honor the patron-preferred Pickup Library as default for staff-placed holds.',
7         'circ', 'Honor the patron-preferred Pickup Library as the default for staff-placed holds.', 'bool');
8
9 INSERT into config.org_unit_setting_type (name, label, grp, description, datatype)
10 values ('circ.staff_placed_holds_staff_ws_ou_override','During Staff-placed holds, use the patron-preferred location or their home OU instead of the Staff User Workstation Org. unit as default pickup location.',
11     'circ', 'During staff-placed holds, use the patron-preferred location or their home OU instead of the Staff User Workstation Org. unit as default pickup location.', 'bool');
12
13 COMMIT;
14