Add ui.hide_copy_editor_fields to baseline seed data
authorBill Erickson <berick@esilibrary.com>
Mon, 2 Apr 2012 21:15:25 +0000 (17:15 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 3 Apr 2012 01:48:40 +0000 (21:48 -0400)
Without it, the "Hide Fields" option in the copy editor will not
function.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index 2d3c8ec..39d90b7 100644 (file)
@@ -11553,3 +11553,26 @@ INSERT INTO config.global_flag (name, enabled, label)
             'label'
         )
     );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, grp )
+    VALUES (
+        'ui.hide_copy_editor_fields',
+        oils_i18n_gettext(
+            'ui.hide_copy_editor_fields',
+            'GUI: Hide these fields within the Item Attribute Editor',
+            'coust',
+            'label'
+        ),
+        oils_i18n_gettext(
+            'ui.hide_copy_editor_fields',
+            'This setting may be best maintained with the dedicated configuration'
+            || ' interface within the Item Attribute Editor.  However, here it'
+            || ' shows up as comma separated list of field identifiers to hide.',
+            'coust',
+            'description'
+        ),
+        'array',
+        'gui'
+    );
+
+