From 2f299de58633343e1bcd3a801ed7e6505e8f4863 Mon Sep 17 00:00:00 2001 From: Michele Morgan Date: Fri, 9 Apr 2021 12:38:55 -0400 Subject: [PATCH] LP#1907296 Missing Workstation setting for staff cat item table Adds the ws setting type eg.grid.catalog.record.copies to allow users to save grid preferences for the angular catalog item table. Signed-off-by: Michele Morgan Signed-off-by: Jennifer Pringle Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 10 ++++++++++ .../XXXX.data.ws_setting_eg_grid_catalog_record_copies | 14 ++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies 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 678ed4122d..3e2a6b5688 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -21549,6 +21549,16 @@ VALUES ( ) ); +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.catalog.record.copies', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.catalog.record.copies', + 'Grid Config: eg.grid.catalog.record.copies', + 'cwst', 'label' + ) +); + INSERT INTO config.global_flag (name, value, enabled, label) VALUES ( 'auth.block_expired_staff_login', diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies new file mode 100644 index 0000000000..58e3a37e1f --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies @@ -0,0 +1,14 @@ +BEGIN; + +-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.catalog.record.copies', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.catalog.record.copies', + 'Grid Config: eg.grid.catalog.record.copies', + 'cwst', 'label') + ); + +COMMIT; -- 2.11.0