[open-ils-commits] r15123 - in trunk/Open-ILS/src/sql/Pg: . upgrade (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 9 13:34:32 EST 2009
Author: erickson
Date: 2009-12-09 13:34:28 -0500 (Wed, 09 Dec 2009)
New Revision: 15123
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0113.data.org-setting-offline-usrname.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
added org setting to allow patrons to identify themselves via username (in addition to barcode) during offline checkout
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-12-09 16:42:35 UTC (rev 15122)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-12-09 18:34:28 UTC (rev 15123)
@@ -51,7 +51,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0112'); -- berick
+INSERT INTO config.upgrade_log (version) VALUES ('0113'); -- berick
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-12-09 16:42:35 UTC (rev 15122)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-12-09 18:34:28 UTC (rev 15123)
@@ -2893,3 +2893,12 @@
INSERT INTO action_trigger.environment ( event_def, path) VALUES
( 13, 'open_billable_transactions_summary.circulation' );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.offline.username_allowed',
+ oils_i18n_gettext('circ.offline.username_allowed', 'Selfcheck: Patron Usernames Allowed', 'coust', 'label'),
+ oils_i18n_gettext('circ.offline.username_allowed', 'During offline circulations, allow patrons to identify themselves with usernames in addition to barcode. For this setting to work, a barcode format must also be defined', 'coust', 'description'),
+ 'bool'
+ );
+
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0113.data.org-setting-offline-usrname.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0113.data.org-setting-offline-usrname.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0113.data.org-setting-offline-usrname.sql 2009-12-09 18:34:28 UTC (rev 15123)
@@ -0,0 +1,13 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0113');
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.offline.username_allowed',
+ oils_i18n_gettext('circ.offline.username_allowed', 'Selfcheck: Patron Usernames Allowed', 'coust', 'label'),
+ oils_i18n_gettext('circ.offline.username_allowed', 'During offline circulations, allow patrons to identify themselves with usernames in addition to barcode. For this setting to work, a barcode format must also be defined', 'coust', 'description'),
+ 'bool'
+ );
+
+COMMIT;
More information about the open-ils-commits
mailing list