From: phasefx Date: Wed, 25 Aug 2010 15:57:33 +0000 (+0000) Subject: circ.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9542e39f4852fa4444de05dc2608c1f4274853f6;p=evergreen%2Fbjwebb.git circ.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing Pieces workflow. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17335 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 c5527e5d1..46cfd93fb 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -68,7 +68,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0378'); -- Scott McKellar +INSERT INTO config.upgrade_log (version) VALUES ('0379'); -- phasefx 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 ebb6eefb2..a11e08861 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -6647,3 +6647,20 @@ INSERT INTO config.org_unit_setting_type (name, label, description, datatype) 'bool') ; +-- 0379.data.org-setting-circ.missing_pieces.copy_status.sql +INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class ) VALUES ( + 'circ.missing_pieces.copy_status', + oils_i18n_gettext( + 'circ.missing_pieces.copy_status', + 'Circulation: Item Status for Missing Pieces', + 'coust', + 'label'), + oils_i18n_gettext( + 'circ.missing_pieces.copy_status', + 'This is the Item Status to use for items that have been marked or scanned as having Missing Pieces. In absense of this setting, the Damaged status is used.', + 'coust', + 'description'), + 'link', + 'ccs' +); + diff --git a/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql b/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql new file mode 100644 index 000000000..236cc9a0d --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql @@ -0,0 +1,21 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0379'); -- phasefx + +INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class ) VALUES ( + 'circ.missing_pieces.copy_status', + oils_i18n_gettext( + 'circ.missing_pieces.copy_status', + 'Circulation: Item Status for Missing Pieces', + 'coust', + 'label'), + oils_i18n_gettext( + 'circ.missing_pieces.copy_status', + 'This is the Item Status to use for items that have been marked or scanned as having Missing Pieces. In absense of this setting, the Damaged status is used.', + 'coust', + 'description'), + 'link', + 'ccs' +); + +COMMIT;