From ab396f0adb007cf06784611f61dff47785f4709c Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Fri, 21 Jun 2019 11:36:44 -0400 Subject: [PATCH] LP#1759343 Clean up data seed values 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 --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) 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 37df5586d1..81620b8b7d 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -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'); -- 2.11.0