[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_4 updated. bb6b0992b760cf98ba7481ee704b3357cb89dba7
Evergreen Git
git at git.evergreen-ils.org
Tue Oct 8 15:07:21 EDT 2013
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, rel_2_4 has been updated
via bb6b0992b760cf98ba7481ee704b3357cb89dba7 (commit)
via 421e084dde54bf29b365a8c4646473e0e6f94a27 (commit)
from bd6222b211c2a52fb907e77ea20dd2ad268d39ab (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 bb6b0992b760cf98ba7481ee704b3357cb89dba7
Author: Jason Stephenson <jstephenson at mvlc.org>
Date: Tue Oct 8 15:05:14 2013 -0400
Stamping upgrade script for 0840 circulation column picker data.
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 4c56be8..3dac060 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -91,7 +91,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 ('0838', :eg_version); -- senator/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0840', :eg_version); -- gcollum/dyrcona
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circulation-policy-configuration.sql b/Open-ILS/src/sql/Pg/upgrade/0840.data.circulation-policy-configuration.sql
similarity index 89%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.circulation-policy-configuration.sql
rename to Open-ILS/src/sql/Pg/upgrade/0840.data.circulation-policy-configuration.sql
index 81b91bb..50c41fe 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circulation-policy-configuration.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0840.data.circulation-policy-configuration.sql
@@ -1,6 +1,6 @@
BEGIN;
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0840', :eg_version);
INSERT INTO config.usr_setting_type (name,grp,opac_visible,label,description,datatype) VALUES (
'ui.grid_columns.conify.config.circ_matrix_matchpoint',
commit 421e084dde54bf29b365a8c4646473e0e6f94a27
Author: Garry Collum <gcollum at gmail.com>
Date: Sun Aug 4 16:10:26 2013 -0400
lp1193487 Circulation Policy Column Picker not saving configuration.
The circulation policy column picker is not saving its configuration
because ui.grid_columns.conify.config.circ_matrix_matchpoint is not
defined in the config.usr_setting_type table. This updates the sql
to populate the table.
Signed-off-by: Garry Collum <gcollum at gmail.com>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.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 1545d16..7c94387 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -10480,6 +10480,23 @@ INSERT INTO config.usr_setting_type (name,grp,opac_visible,label,description,dat
'description'
),
'string'
+), (
+ 'ui.grid_columns.conify.config.circ_matrix_matchpoint',
+ 'gui',
+ FALSE,
+ oils_i18n_gettext(
+ 'ui.grid_columns.conify.config.circ_matrix_matchpoint',
+ 'Circulation Policy Configuration',
+ 'cust',
+ 'label'
+ ),
+ oils_i18n_gettext(
+ 'ui.grid_columns.conify.config.circ_matrix_matchpoint',
+ 'Circulation Policy Configuration Column Settings',
+ 'cust',
+ 'description'
+ ),
+ 'string'
) ;
SELECT setval( 'config.sms_carrier_id_seq', 1000 );
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circulation-policy-configuration.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circulation-policy-configuration.sql
new file mode 100644
index 0000000..81b91bb
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circulation-policy-configuration.sql
@@ -0,0 +1,24 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT INTO config.usr_setting_type (name,grp,opac_visible,label,description,datatype) VALUES (
+ 'ui.grid_columns.conify.config.circ_matrix_matchpoint',
+ 'gui',
+ FALSE,
+ oils_i18n_gettext(
+ 'ui.grid_columns.conify.config.circ_matrix_matchpoint',
+ 'Circulation Policy Configuration',
+ 'cust',
+ 'label'
+ ),
+ oils_i18n_gettext(
+ 'ui.grid_columns.conify.config.circ_matrix_matchpoint',
+ 'Circulation Policy Configuration Column Settings',
+ 'cust',
+ 'description'
+ ),
+ 'string'
+);
+
+COMMIT;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +-
Open-ILS/src/sql/Pg/950.data.seed-values.sql | 17 ++++++++++++++
.../0840.data.circulation-policy-configuration.sql | 24 ++++++++++++++++++++
3 files changed, 42 insertions(+), 1 deletions(-)
create mode 100644 Open-ILS/src/sql/Pg/upgrade/0840.data.circulation-policy-configuration.sql
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list