From: Jason Stephenson Date: Wed, 5 Dec 2018 19:55:30 +0000 (-0500) Subject: Lp 1806709: Add circ.patron.billhistory_xacts persist key to database. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2f1db3db284e35d14b8cdec907f42a6cefbe10d4;p=evergreen%2Fpines.git Lp 1806709: Add circ.patron.billhistory_xacts persist key to database. We add the eg.grid.circ.patron.billhistory_xacts persist key to config.workstation_setting_type in the database. This is a follow-on to the LP1739606: Allow saving Billing History xacts grid commit and should be applied to master and rel_3_2. Signed-off-by: Jason Stephenson Signed-off-by: Michele Morgan Signed-off-by: Galen Charlton --- 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 190e1c0293..26c9569f6b 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -19291,6 +19291,13 @@ VALUES ( 'Serials Barcode On Receive', 'cwst', 'label' ) +), ( + 'eg.grid.circ.patron.billhistory_xacts', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.circ.patron.billhistory_xacts', + 'Grid Config: circ.patron.billhistory_xacts', + 'cwst', 'label' + ) ); diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ-billing-history-grid-persist-key.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ-billing-history-grid-persist-key.sql new file mode 100644 index 0000000000..0978c9fbc7 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ-billing-history-grid-persist-key.sql @@ -0,0 +1,15 @@ +BEGIN; + +-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.circ.patron.billhistory_xacts', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.circ.patron.billhistory_xacts', + 'Grid Config: circ.patron.billhistory_xacts', + 'cwst', 'label' + ) +); + +COMMIT;