From eee5c5948ca8dea98088007e11280c4809fd925a Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Fri, 21 Jun 2019 11:36:44 -0400 Subject: [PATCH 1/1] 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 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 @@ -18484,6 +18484,13 @@ VALUES ( 'Print Receipt On Payment', '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( @@ -18862,6 +18869,13 @@ VALUES ( 'Grid Config: circ.patron.checkout', '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( @@ -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.43.2