From: erickson Date: Wed, 30 Sep 2009 13:30:48 +0000 (+0000) Subject: adding hold targeter skip-me org setting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=196cb606dd8fe96af3a561ec0b6338b0d8b3ccd7;p=evergreen%2Fbjwebb.git adding hold targeter skip-me org setting git-svn-id: svn://svn.open-ils.org/ILS/trunk@14215 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 67d4aa440..ee60ad3a1 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -51,7 +51,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0028'); -- phasefx +INSERT INTO config.upgrade_log (version) VALUES ('0029'); -- berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index b077bc3bf..f28c76d3a 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -2107,5 +2107,11 @@ INSERT INTO action_trigger.hook (key,core_type,description) VALUES ( 'A hold is cancelled by the patron' ); - +-- hold targeter skip me +INSERT INTO config.org_unit_setting_type (name, label, description, datatype) VALUES ( + 'circ.holds.target_skip_me', + 'Skip For Hold Targeting', + 'When true, don''t target any copies at this org unit for holds', + 'bool' +); diff --git a/Open-ILS/src/sql/Pg/upgrade/0029.data.org-setting-hold-target-skip-me.sql b/Open-ILS/src/sql/Pg/upgrade/0029.data.org-setting-hold-target-skip-me.sql new file mode 100644 index 000000000..85af9a7c9 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0029.data.org-setting-hold-target-skip-me.sql @@ -0,0 +1,13 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0029'); + +INSERT INTO config.org_unit_setting_type (name, label, description, datatype) VALUES ( + 'circ.holds.target_skip_me', + 'Skip For Hold Targeting', + 'When true, don''t target any copies at this org unit for holds', + 'bool' +); + +COMMIT; +