]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0644.data.YAOUS-target-when-closed.sql
Stamping upgrade script for revive-qp-fts (LP 1161601).
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0644.data.YAOUS-target-when-closed.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('0644', :eg_version);
4
5 INSERT into config.org_unit_setting_type (name, grp, label, description, datatype) VALUES
6 ( 'circ.holds.target_when_closed', 'circ',
7     oils_i18n_gettext('circ.holds.target_when_closed',
8         'Target copies for a hold even if copy''s circ lib is closed',
9         'coust', 'label'),
10     oils_i18n_gettext('circ.holds.target_when_closed',
11         'If this setting is true at a given org unit or one of its ancestors, the hold targeter will target copies from this org unit even if the org unit is closed (according to the actor.org_unit.closed_date table).',
12         'coust', 'description'),
13     'bool'),
14 ( 'circ.holds.target_when_closed_if_at_pickup_lib', 'circ',
15     oils_i18n_gettext('circ.holds.target_when_closed_if_at_pickup_lib',
16         'Target copies for a hold even if copy''s circ lib is closed IF the circ lib is the hold''s pickup lib',
17         'coust', 'label'),
18     oils_i18n_gettext('circ.holds.target_when_closed_if_at_pickup_lib',
19         'If this setting is true at a given org unit or one of its ancestors, the hold targeter will target copies from this org unit even if the org unit is closed (according to the actor.org_unit.closed_date table) IF AND ONLY IF the copy''s circ lib is the same as the hold''s pickup lib.',
20         'coust', 'description'),
21     'bool')
22 ;
23
24 COMMIT;