LP1857910 ws setting type for field doc grid
authorJason Etheridge <jason@EquinoxOLI.org>
Wed, 6 Apr 2022 19:15:58 +0000 (15:15 -0400)
committerJane Sandberg <js7389@princeton.edu>
Fri, 20 May 2022 00:16:46 +0000 (18:16 -0600)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.field_documentation-workstaiton-setting.sql [new file with mode: 0644]

index a0f937c..efcf20a 100644 (file)
@@ -19949,6 +19949,13 @@ VALUES (
     'Grid Config: eg.grid.reporter.simple.outputs',
     'cwst', 'label'
   )
+), (
+  'eg.grid.admin.config.idl_field_doc', 'gui', 'object',
+  oils_i18n_gettext(
+    'eg.grid.admin.config.idl_field_doc',
+    'Grid Config: admin.config.idl_field_doc',
+    'cwst', 'label'
+  )
 );
 
 
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.field_documentation-workstaiton-setting.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.field_documentation-workstaiton-setting.sql
new file mode 100644 (file)
index 0000000..ec6fc2f
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT into config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.grid.admin.config.idl_field_doc', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.config.idl_field_doc',
+        'Grid Config: admin.config.idl_field_doc',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;