]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/XXXX.data.stalling-YAOUS.sql
LP#1895052: Allow pickup lib to control stalling
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.data.stalling-YAOUS.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
4
5 UPDATE config.org_unit_setting_type
6   SET description = $$How long to wait before allowing opportunistic capture of holds with a pickup library other than the context item's circulating library$$ -- ' vim
7   WHERE name = 'circ.hold_stalling.soft';
8
9 INSERT into config.org_unit_setting_type
10 ( name, grp, label, description, datatype, fm_class ) VALUES
11 ( 'circ.pickup_hold_stalling.soft',
12   'holds',
13   'Pickup Library Soft stalling interval',
14   'When set for the pickup library, this specifies that only items scanned at the pickup library can be opportunistically captured for this time period.  Example "5 days".  This setting takes precedence over "Soft stalling interval" (circ.hold_stalling.soft).',
15   'interval',
16   null
17 );
18
19 COMMIT;
20