[open-ils-commits] r19559 - in branches/rel_2_1/Open-ILS/src/sql/Pg: . upgrade (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 1 22:04:38 EST 2011
Author: dbs
Date: 2011-03-01 22:04:36 -0500 (Tue, 01 Mar 2011)
New Revision: 19559
Added:
branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0493.data.interval-descriptions.sql
Modified:
branches/rel_2_1/Open-ILS/src/sql/Pg/002.schema.config.sql
branches/rel_2_1/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Add example intervals to some library setting descriptions
Based on a patch provided by Michael Peters <mrpeters at library.in.gov>
in Launchpad bug 717308, provide examples of intervals in several
descriptions that lacked them.
Modified: branches/rel_2_1/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- branches/rel_2_1/Open-ILS/src/sql/Pg/002.schema.config.sql 2011-03-02 02:53:23 UTC (rev 19558)
+++ branches/rel_2_1/Open-ILS/src/sql/Pg/002.schema.config.sql 2011-03-02 03:04:36 UTC (rev 19559)
@@ -70,7 +70,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0492'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0493'); -- dbs
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Modified: branches/rel_2_1/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- branches/rel_2_1/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2011-03-02 02:53:23 UTC (rev 19558)
+++ branches/rel_2_1/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2011-03-02 03:04:36 UTC (rev 19559)
@@ -2252,7 +2252,7 @@
( 'circ.hold_expire_alert_interval',
oils_i18n_gettext('circ.hold_expire_alert_interval', 'Holds: Expire Alert Interval', 'coust', 'label'),
- oils_i18n_gettext('circ.hold_expire_alert_interval', 'Amount of time before a hold expires at which point the patron should be alerted', 'coust', 'description'),
+ oils_i18n_gettext('circ.hold_expire_alert_interval', 'Amount of time before a hold expires at which point the patron should be alerted. Examples: "5 days", "1 hour"', 'coust', 'description'),
'interval'),
( 'circ.hold_expire_interval',
@@ -2317,12 +2317,12 @@
( 'circ.holds.default_estimated_wait_interval',
oils_i18n_gettext('circ.holds.default_estimated_wait_interval', 'Holds: Default Estimated Wait', 'coust', 'label'),
- oils_i18n_gettext('circ.holds.default_estimated_wait_interval', 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the default estimated length of time to assume an item will be checked out.', 'coust', 'description'),
+ oils_i18n_gettext('circ.holds.default_estimated_wait_interval', 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the default estimated length of time to assume an item will be checked out. Examples: "3 weeks", "7 days"', 'coust', 'description'),
'interval'),
( 'circ.holds.min_estimated_wait_interval',
oils_i18n_gettext('circ.holds.min_estimated_wait_interval', 'Holds: Minimum Estimated Wait', 'coust', 'label'),
- oils_i18n_gettext('circ.holds.min_estimated_wait_interval', 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the minimum estimated length of time to assume an item will be checked out.', 'coust', 'description'),
+ oils_i18n_gettext('circ.holds.min_estimated_wait_interval', 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the minimum estimated length of time to assume an item will be checked out. Examples: "2 weeks", "5 days"', 'coust', 'description'),
'interval'),
( 'circ.selfcheck.patron_login_timeout',
@@ -2462,7 +2462,7 @@
( 'circ.hold_shelf_status_delay',
oils_i18n_gettext('circ.hold_shelf_status_delay', 'Hold Shelf Status Delay', 'coust', 'label'),
- oils_i18n_gettext('circ.hold_shelf_status_delay', 'The purpose is to provide an interval of time after an item goes into the on-holds-shelf status before it appears to patrons that it is actually on the holds shelf. This gives staff time to process the item before it shows as ready-for-pickup.', 'coust', 'description'),
+ oils_i18n_gettext('circ.hold_shelf_status_delay', 'The purpose is to provide an interval of time after an item goes into the on-holds-shelf status before it appears to patrons that it is actually on the holds shelf. This gives staff time to process the item before it shows as ready-for-pickup. Examples: "5 days", "1 hour"', 'coust', 'description'),
'interval'),
( 'circ.patron_invalid_address_apply_penalty',
Copied: branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0493.data.interval-descriptions.sql (from rev 19558, trunk/Open-ILS/src/sql/Pg/upgrade/0493.data.interval-descriptions.sql)
===================================================================
--- branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0493.data.interval-descriptions.sql (rev 0)
+++ branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0493.data.interval-descriptions.sql 2011-03-02 03:04:36 UTC (rev 19559)
@@ -0,0 +1,21 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0493'); -- dbs
+
+UPDATE config.org_unit_setting_type
+ SET description = 'Amount of time before a hold expires at which point the patron should be alerted. Examples: "5 days", "1 hour"'
+ WHERE label = 'Holds: Expire Alert Interval';
+
+UPDATE config.org_unit_setting_type
+ SET description = 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the default estimated length of time to assume an item will be checked out. Examples: "3 weeks", "7 days"'
+ WHERE label = 'Holds: Default Estimated Wait';
+
+UPDATE config.org_unit_setting_type
+ SET description = 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the minimum estimated length of time to assume an item will be checked out. Examples: "1 week", "5 days"'
+ WHERE label = 'Holds: Minimum Estimated Wait';
+
+UPDATE config.org_unit_setting_type
+ SET description = 'The purpose is to provide an interval of time after an item goes into the on-holds-shelf status before it appears to patrons that it is actually on the holds shelf. This gives staff time to process the item before it shows as ready-for-pickup. Examples: "5 days", "1 hour"'
+ WHERE label = 'Hold Shelf Status Delay';
+
+COMMIT;
More information about the open-ils-commits
mailing list