lp1193487 Circulation Policy Column Picker not saving configuration.
authorGarry Collum <gcollum@gmail.com>
Sun, 4 Aug 2013 20:10:26 +0000 (16:10 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 8 Oct 2013 18:50:36 +0000 (14:50 -0400)
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@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.circulation-policy-configuration.sql [new file with mode: 0644]

index 1cc8f98..4bdfffc 100644 (file)
@@ -10823,6 +10823,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 (file)
index 0000000..81b91bb
--- /dev/null
@@ -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;