From eee5c5948ca8dea98088007e11280c4809fd925a 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 Signed-off-by: Chris Sharp --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 27 +++++++++++++------------ 1 files 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 37df558..81620b8 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'); -- 1.7.2.5