LP#1759343 Clean up data seed values
authorDan Wells <dbw2@calvin.edu>
Fri, 21 Jun 2019 15:36:44 +0000 (11:36 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 21 Jun 2019 19:43:29 +0000 (15:43 -0400)
1) Add missing translation wrapper for new annotatepayment setting.

2) While we are at it, try to stem the proliferation of workstation
setting INSERT chunks.  (More could be done here...)

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>

Open-ILS/src/sql/Pg/950.data.seed-values.sql

index 37df558..81620b8 100644 (file)
@@ -18485,6 +18485,13 @@ VALUES (
         'cwst', 'label'
     )
 ), (
+    'eg.circ.bills.annotatepayment', 'circ', 'bool',
+    oils_i18n_gettext(
+        'eg.circ.bills.annotatepayment',
+        'Bills: Annotate Payment',
+        'cwst', 'label'
+    )
+), (
     'circ.renew.strict_barcode', 'circ', 'bool',
     oils_i18n_gettext(
         'circ.renew.strict_barcode',
@@ -18863,6 +18870,13 @@ VALUES (
         'cwst', 'label'
     )
 ), (
+    'eg.grid.circ.patron.group_members', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.circ.patron.group_members',
+        'Grid Config: circ.patron.group_members',
+        'cwst', 'label'
+    )
+), (
     'eg.grid.serials.mfhd_grid', 'gui', 'object',
     oils_i18n_gettext(
         'eg.grid.serials.mfhd_grid',
@@ -19956,16 +19970,3 @@ VALUES (
         'cwst', 'label'
     )
 );
-
-INSERT INTO config.workstation_setting_type
-    (name, grp, datatype, label)
-VALUES (
-    'eg.grid.circ.patron.group_members', 'gui', 'object',
-    oils_i18n_gettext(
-    'eg.grid.circ.patron.group_members',
-    'Grid Config: circ.patron.group_members',
-    'cwst', 'label')
-);
-
-INSERT INTO config.workstation_setting_type (name,label,grp,datatype)
-VALUES ('eg.circ.bills.annotatepayment','Bills: Annotate Payment', 'circ', 'bool');