From: erickson Date: Fri, 23 Oct 2009 13:31:52 +0000 (+0000) Subject: new org settings for managing the number of canceled holds to display in patron holds... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=47a6ec6c2e743e8fc90658e1f419d05d4a888754;p=contrib%2FConifer.git new org settings for managing the number of canceled holds to display in patron holds lists git-svn-id: svn://svn.open-ils.org/ILS/trunk@14573 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index accc463ca4..334e3ffe43 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -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 ( diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 187cdff497..d662b81944 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -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 index 0000000000..58159f240e --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0050.data.org-setting-canceled-holds-limits.sql @@ -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;