LP#1750894 Adding more setting types (catalog)
authorBill Erickson <berickxx@gmail.com>
Tue, 29 May 2018 16:50:48 +0000 (12:50 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 29 May 2018 16:50:48 +0000 (12:50 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql

index d0262d2..a9f82fe 100644 (file)
@@ -450,8 +450,50 @@ VALUES (
         'Grid Config: circ.patron.search',
         'cwst', 'label'
     )
+), (
+    'eg.cat.record.summary.collapse', 'gui', 'bool',
+    oils_i18n_gettext(
+        'eg.cat.record.summary.collapse',
+        'Collapse Bib Record Summary',
+        'cwst', 'label'
+    )
+), (
+    'cat.marcedit.flateditor', 'gui', 'bool',
+    oils_i18n_gettext(
+        'cat.marcedit.flateditor',
+        'Use Flat MARC Editor',
+        'cwst', 'label'
+    )
+), (
+    'cat.marcedit.stack_subfields', 'gui', 'bool',
+    oils_i18n_gettext(
+        'cat.marcedit.stack_subfields',
+        'MARC Editor Stack Subfields',
+        'cwst', 'label'
+    )
+
 );
 
+-- More values with fm_class'es
+INSERT INTO config.workstation_setting_type (name, grp, datatype, fm_class, label)
+VALUES (
+    'eg.search.search_lib', 'gui', 'link', 'aou',
+    oils_i18n_gettext(
+        'eg.search.search_lib',
+        'Staff Catalog Default Search Library',
+        'cwst', 'label'
+    )
+), (
+    'eg.search.pref_lib', 'gui', 'link', 'aou',
+    oils_i18n_gettext(
+        'eg.search.pref_lib',
+        'Staff Catalog Preferred Library',
+        'cwst', 'label'
+    )
+);
+
+
+
 /*
 INSERT INTO permission.perm_list (id, code, description) VALUES
  (594, 'APPLY_WORKSTATION_SETTING',