[open-ils-commits] r14815 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Nov 6 16:09:54 EST 2009


Author: phasefx
Date: 2009-11-06 16:09:48 -0500 (Fri, 06 Nov 2009)
New Revision: 14815

Added:
   trunk/Open-ILS/src/sql/Pg/upgrade/0074.data.org-setting-work-log.sql
Modified:
   trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
   trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Wire up the org unit settings related to the Work Log interface

Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2009-11-06 20:48:16 UTC (rev 14814)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2009-11-06 21:09:48 UTC (rev 14815)
@@ -51,7 +51,7 @@
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0073'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0074'); -- phasefx
 
 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	2009-11-06 20:48:16 UTC (rev 14814)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2009-11-06 21:09:48 UTC (rev 14815)
@@ -1761,8 +1761,18 @@
 ( 'credit.processor.paypal.testmode',
     'Credit card processing: PayPal test mode',
     '',
-    'bool' )
+    'bool' ),
 
+( 'ui.admin.work_log.max_entries',
+    oils_i18n_gettext('ui.admin.work_log.max_entries', 'GUI: Work Log: Maximum Actions Logged', 'coust', 'label'),
+    oils_i18n_gettext('ui.admin.work_log.max_entries', 'Maximum entries for "Most Recent Staff Actions" section of the Work Log interface.', 'coust', 'description'),
+  'interval' ),
+
+( 'ui.admin.patron_log.max_entries',
+    oils_i18n_gettext('ui.admin.patron_log.max_entries', 'GUI: Work Log: Maximum Patrons Logged', 'coust', 'label'),
+    oils_i18n_gettext('ui.admin.patron_log.max_entries', 'Maximum entries for "Most Recently Affected Patrons..." section of the Work Log interface.', 'coust', 'description'),
+  'interval' )
+
 ;
 
 -- Org_unit_setting_type(s) that need an fm_class:

Added: trunk/Open-ILS/src/sql/Pg/upgrade/0074.data.org-setting-work-log.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0074.data.org-setting-work-log.sql	                        (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0074.data.org-setting-work-log.sql	2009-11-06 21:09:48 UTC (rev 14815)
@@ -0,0 +1,17 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0074'); -- phasefx
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES
+    ( 'ui.admin.work_log.max_entries',
+        oils_i18n_gettext('ui.admin.work_log.max_entries', 'GUI: Work Log: Maximum Actions Logged', 'coust', 'label'),
+        oils_i18n_gettext('ui.admin.work_log.max_entries', 'Maximum entries for "Most Recent Staff Actions" section of the Work Log interface.', 'coust', 'description'),
+      'interval' ),
+
+    ( 'ui.admin.patron_log.max_entries',
+        oils_i18n_gettext('ui.admin.patron_log.max_entries', 'GUI: Work Log: Maximum Patrons Logged', 'coust', 'label'),
+        oils_i18n_gettext('ui.admin.patron_log.max_entries', 'Maximum entries for "Most Recently Affected Patrons..." section of the Work Log interface.', 'coust', 'description'),
+      'interval' )
+;
+
+COMMIT;



More information about the open-ils-commits mailing list