From: Galen Charlton <gmc@equinoxOLI.org>
Date: Mon, 20 Sep 2021 20:06:54 +0000 (-0400)
Subject: LP#1929242: (follow-up) add grid config WS setting
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3a20a5badf53c7fb3e9351948552f6fd072451bf;p=contrib%2FConifer.git

LP#1929242: (follow-up) add grid config WS setting

Signed-off-by: Galen Charlton <gmc@equinoxOLI.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 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;