From 3a20a5badf53c7fb3e9351948552f6fd072451bf Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 20 Sep 2021 16:06:54 -0400 Subject: [PATCH] LP#1929242: (follow-up) add grid config WS setting Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 9 +++++++++ Open-ILS/src/sql/Pg/upgrade/xxxx.data.record_notes.sql | 10 ++++++++++ 2 files changed, 19 insertions(+) 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 d7dca1ace2..8fc21aea95 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -21614,6 +21614,15 @@ VALUES ( 'cwst', 'label' ) ); +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.catalog.record.notes', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.catalog.record.notes', + 'Grid Config: eg.grid.catalog.record.notes', + 'cwst', 'label' + ) +); INSERT INTO config.global_flag (name, value, enabled, label) VALUES ( diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.record_notes.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.record_notes.sql index b3d49924a7..7b52182018 100644 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.record_notes.sql +++ b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.record_notes.sql @@ -13,4 +13,14 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES ( 635, 'DELETE_RECORD_NOTE', oils_i18n_gettext(635, 'Allow the user to delete a record note', 'ppl', 'description')); +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.catalog.record.notes', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.catalog.record.notes', + 'Grid Config: eg.grid.catalog.record.notes', + 'cwst', 'label' + ) +); + COMMIT; -- 2.11.0