new org settings for managing the number of canceled holds to display in patron holds...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Oct 2009 13:31:52 +0000 (13:31 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Oct 2009 13:31:52 +0000 (13:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14573 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql [new file with mode: 0644]

index accc463..334e3ff 100644 (file)
@@ -51,7 +51,7 @@ CREATE TABLE config.upgrade_log (
     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 (
index 187cdff..d662b81 100644 (file)
@@ -2286,3 +2286,20 @@ INSERT INTO
         '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'
+    );
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql b/Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql
new file mode 100644 (file)
index 0000000..58159f2
--- /dev/null
@@ -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;