[open-ils-commits] r14573 - in trunk/Open-ILS/src/sql/Pg: . upgrade (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 23 09:31:54 EDT 2009
Author: erickson
Date: 2009-10-23 09:31:52 -0400 (Fri, 23 Oct 2009)
New Revision: 14573
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
new org settings for managing the number of canceled holds to display in patron holds lists
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-23 13:14:49 UTC (rev 14572)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-23 13:31:52 UTC (rev 14573)
@@ -51,7 +51,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0049'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0050'); -- Scott McKellar
CREATE TABLE config.bib_source (
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-10-23 13:14:49 UTC (rev 14572)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-10-23 13:31:52 UTC (rev 14573)
@@ -2286,3 +2286,20 @@
'bool'
);
+-- hold cancel display limits
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_count',
+ 'Holds: Canceled holds display count',
+ 'How many canceled holds to show in patron holds interfaces',
+ 'integer'
+ );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_age',
+ 'Holds: Canceled holds display age',
+ 'Show all canceled holds that were canceled within this amount of time',
+ 'interval'
+ );
+
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql 2009-10-23 13:31:52 UTC (rev 14573)
@@ -0,0 +1,21 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0050');
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_count',
+ 'Holds: Canceled holds display count',
+ 'How many canceled holds to show in patron holds interfaces',
+ 'integer'
+ );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_age',
+ 'Holds: Canceled holds display age',
+ 'Show all canceled holds that were canceled within this amount of time',
+ 'interval'
+ );
+
+COMMIT;
More information about the open-ils-commits
mailing list