[open-ils-commits] r17392 - in branches/rel_2_0/Open-ILS/src/sql/Pg: . upgrade (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Aug 30 14:25:19 EDT 2010


Author: scottmk
Date: 2010-08-30 14:25:15 -0400 (Mon, 30 Aug 2010)
New Revision: 17392

Added:
   branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
Modified:
   branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Backporting corrections to some org unit setting types.

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: branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-08-30 17:39:27 UTC (rev 17391)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-08-30 18:25:15 UTC (rev 17392)
@@ -6449,13 +6449,13 @@
 VALUES (
     'serial.prev_issuance_copy_location',
     oils_i18n_gettext(
-        'setting.name',
+        'serial.prev_issuance_copy_location',
         'Serials: Previous Issuance Copy Location',
         'coust',
         'label'
     ),
     oils_i18n_gettext(
-        'setting.name',
+        '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',
         'descripton'
@@ -6468,13 +6468,13 @@
 VALUES (
     'cat.default_classification_scheme',
     oils_i18n_gettext(
-        'setting.name',
+        'cat.default_classification_scheme',
         'Cataloging: Default Classification Scheme',
         'coust',
         'label'
     ),
     oils_i18n_gettext(
-        'setting.name',
+        'cat.default_classification_scheme',
         'Defines the default classification scheme for new call numbers: 1 = Generic; 2 = Dewey; 3 = LC',
         'coust',
         'descripton'

Added: branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql	                        (rev 0)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql	2010-08-30 18:25:15 UTC (rev 17392)
@@ -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