From: Garry Collum Date: Sun, 4 Aug 2013 20:10:26 +0000 (-0400) Subject: lp1193487 Circulation Policy Column Picker not saving configuration. X-Git-Tag: sprint4-merge-nov22~2582 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7ee63181783ee3cf7fa773aa52dbe2f4baa6712d;p=working%2FEvergreen.git 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 Signed-off-by: Jason Stephenson --- 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 1cc8f98d05..4bdfffcd2e 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -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 index 0000000000..81b91bb71a --- /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;