[open-ils-commits] r17322 - in trunk/Open-ILS/src/sql/Pg: . upgrade (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 24 09:29:03 EDT 2010
Author: scottmk
Date: 2010-08-24 09:29:02 -0400 (Tue, 24 Aug 2010)
New Revision: 17322
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Correcting some miscellaneous anomalies in the org unit setting types.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
M Open-ILS/src/sql/Pg/950.data.seed-values.sql
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-08-23 22:27:44 UTC (rev 17321)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-08-24 13:29:02 UTC (rev 17322)
@@ -68,7 +68,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0377'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0378'); -- Scott McKellar
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-08-23 22:27:44 UTC (rev 17321)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-08-24 13:29:02 UTC (rev 17322)
@@ -6623,3 +6623,22 @@
'integer'
);
+INSERT INTO config.org_unit_setting_type (name, label, description, datatype)
+ VALUES
+ ('circ.holds.alert_if_local_avail',
+ 'Holds: Local available alert',
+ 'If local copy is available, alert the person making the hold',
+ 'bool'),
+
+ ('circ.holds.deny_if_local_avail',
+ 'Holds: Local available block',
+ 'If local copy is available, deny the creation of the hold',
+ 'bool'),
+
+ ('circ.holds.clear_shelf.no_capture_holds',
+ oils_i18n_gettext( 'circ.holds.clear_shelf.no_capture_holds',
+ 'Holds: Bypass hold capture during clear shelf process', 'coust', 'label'),
+ oils_i18n_gettext( 'circ.holds.clear_shelf.no_capture_holds',
+ 'During the clear shelf process, avoid capturing new holds on cleared items.', 'coust', 'description'),
+ 'bool');
+
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql 2010-08-24 13:29:02 UTC (rev 17322)
@@ -0,0 +1,39 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0378'); -- Scott McKellar
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'acq.fund.balance_limit.block',
+ 'Fund Spending Limit for Block',
+ 'coust',
+ 'label')
+WHERE name = 'acq.fund.balance_limit.block';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'serial.prev_issuance_copy_location',
+ 'Serials: Previous Issuance Copy Location',
+ 'coust',
+ 'label'),
+ description = oils_i18n_gettext(
+ 'serial.prev_issuance_copy_location',
+ 'When a serial issuance is received, copies (units) of the previous issuance will be automatically moved into the configured shelving location',
+ 'coust',
+ 'description')
+WHERE name = 'serial.prev_issuance_copy_location';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'cat.default_classification_scheme',
+ 'Cataloging: Default Classification Scheme',
+ 'coust',
+ 'label'),
+ description = oils_i18n_gettext(
+ 'cat.default_classification_scheme',
+ 'Defines the default classification scheme for new call numbers: 1 = Generic; 2 = Dewey; 3 = LC',
+ 'coust',
+ 'description')
+WHERE name = 'cat.default_classification_scheme';
+
+COMMIT;
More information about the open-ils-commits
mailing list