From 77ea54e8807dbd598807e0758aa3e12c3b341941 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 8 Jul 2009 14:09:34 +0000 Subject: [PATCH] added invalid addr penalty and org-unit setting to enable use of said penalty git-svn-id: svn://svn.open-ils.org/ILS/trunk@13523 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/002.schema.config.sql | 1 + Open-ILS/src/sql/Pg/950.data.seed-values.sql | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index a6f663e05b..1718a7d5f2 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -135,6 +135,7 @@ INSERT INTO config.standing_penalty (id,name,label,block_list) VALUES (25,'STAFF INSERT INTO config.standing_penalty (id,name,label,block_list) VALUES (26,'STAFF_HR','Alerting block on Hold and Renew','HOLD|RENEW'); INSERT INTO config.standing_penalty (id,name,label,block_list) VALUES (27,'STAFF_H','Alerting block on Hold','HOLD'); INSERT INTO config.standing_penalty (id,name,label,block_list) VALUES (28,'STAFF_R','Alerting block on Renew','RENEW'); +INSERT INTO config.standing_penalty (id,name,label) VALUES (29,'INVALID_PATRON_ADDRESS','Patron has an invalid address'); SELECT SETVAL('config.standing_penalty_id_seq', 100); 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 875a468caa..7ff025a176 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1771,6 +1771,11 @@ INSERT into config.org_unit_setting_type '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.', 'interval' ), +( 'circ.patron_invalid_address_apply_penalty', + 'Invalid patron address penalty', + 'When set, if a patron address is set to invalid, a penalty is applied.', + 'bool' ), + ( 'ui.patron.default_inet_access_level', 'Default level of patrons'' internet access', null, -- 2.11.0