[open-ils-commits] [GIT] Evergreen ILS branch master updated. 8aa6a5dfd7eb3ac2bec6fb8f6ad241050081e7dd

Evergreen Git git at git.evergreen-ils.org
Fri Sep 6 18:03:23 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  8aa6a5dfd7eb3ac2bec6fb8f6ad241050081e7dd (commit)
       via  d5cafca05f3c013f60a3c84bae59fb48443949d4 (commit)
      from  b198d0d1c37314920e83d7edce529d2cdb1214b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8aa6a5dfd7eb3ac2bec6fb8f6ad241050081e7dd
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Fri Sep 6 18:03:14 2019 -0400

    LP#1823255: stamp database update
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 797103561a..e7b9992dca 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -92,7 +92,7 @@ CREATE TRIGGER no_overlapping_deps
     BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1182', :eg_version); -- liam/jeffdavis/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1183', :eg_version); -- mbucholtz/jeffdavis/gmcharlt
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql b/Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql
similarity index 89%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql
rename to Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql
index 89e3d1217b..05ac67aedb 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql
@@ -1,6 +1,6 @@
 BEGIN;
 
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('1183', :eg_version);
 
 INSERT into config.org_unit_setting_type
 ( name, grp, label, description, datatype, fm_class ) VALUES

commit d5cafca05f3c013f60a3c84bae59fb48443949d4
Author: Mark Bucholtz <mbucholtz at sitka.bclibraries.ca>
Date:   Mon Apr 1 07:45:20 2019 -0700

    LP#1823255: optionally require ident_value
    
    Signed-off-by: Jeff Davis <jeff.davis at bc.libraries.coop>
    Signed-off-by: Mark Bucholtz <mbucholtz at sitka.bclibraries.ca>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

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 4bf6099e8b..364942aa74 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -4911,6 +4911,15 @@ INSERT into config.org_unit_setting_type
         'coust', 'description'),
     'bool', null)
 
+,( 'ui.patron.edit.au.ident_value.require', 'gui',
+    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
+        'require ident_value field on patron registration',
+        'coust', 'label'),
+    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
+        'The ident_value field will be required on the patron registration screen.',
+        'coust', 'description'),
+    'bool', null)
+
 ,( 'ui.patron.edit.au.ident_value.show', 'gui',
     oils_i18n_gettext('ui.patron.edit.au.ident_value.show',
         'Show ident_value field on patron registration',
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql
new file mode 100644
index 0000000000..89e3d1217b
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql
@@ -0,0 +1,17 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT into config.org_unit_setting_type
+( name, grp, label, description, datatype, fm_class ) VALUES
+( 'ui.patron.edit.au.ident_value.require', 'gui',
+    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
+        'require ident_value field on patron registration',
+        'coust', 'label'),
+    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
+        'The ident_value field will be required on the patron registration screen.',
+        'coust', 'description'),
+    'bool', null);
+
+COMMIT;
+
diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
index b987d0bc51..bcfbab817d 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
@@ -353,6 +353,7 @@ angular.module('egCoreMod')
             'ui.patron.edit.au.juvenile.show',
             'ui.patron.edit.au.juvenile.suggest',
             'ui.patron.edit.au.ident_value.show',
+            'ui.patron.edit.au.ident_value.require',
             'ui.patron.edit.au.ident_value.suggest',
             'ui.patron.edit.au.ident_value2.show',
             'ui.patron.edit.au.ident_value2.suggest',

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/sql/Pg/002.schema.config.sql               |  2 +-
 Open-ILS/src/sql/Pg/950.data.seed-values.sql            |  9 +++++++++
 .../sql/Pg/upgrade/1183.data.ident_value_required.sql   | 17 +++++++++++++++++
 Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js  |  1 +
 4 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list