From: Michele Date: Fri, 19 Mar 2021 22:21:26 +0000 (-0400) Subject: LP1920253 Add missing carousel workstation setting types X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c8befed9def1de46ed05f21cecf7b5a8e6bd5065;p=evergreen%2Ftadl.git LP1920253 Add missing carousel workstation setting types Adds ws setting types for the following pages: Carousels Visible at Library Configuration (eg.grid.admin.local.container.carousel_org_unit) Carousels Configuration (eg.grid.admin.container.carousel) Carousel Types Configuration (eg.grid.admin.server.config.carousel_type) Signed-off-by: Michele Morgan Signed-off-by: Tiffany Little Signed-off-by: Jason Boyer --- 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 5a6a27c839..9ebc5d3a94 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -21913,3 +21913,27 @@ VALUES 'array' ); +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.local.container.carousel_org_unit', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.container.carousel_org_unit', + 'Grid Config: eg.grid.admin.local.container.carousel_org_unit', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.container.carousel', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.container.carousel', + 'Grid Config: eg.grid.admin.container.carousel', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.server.config.carousel_type', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.server.config.carousel_type', + 'Grid Config: eg.grid.admin.server.config.carousel_type', + 'cwst', 'label' + ) +); + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql new file mode 100644 index 0000000000..ab56e8c11c --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql @@ -0,0 +1,29 @@ +BEGIN; + +-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.local.container.carousel_org_unit', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.container.carousel_org_unit', + 'Grid Config: eg.grid.admin.local.container.carousel_org_unit', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.container.carousel', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.container.carousel', + 'Grid Config: eg.grid.admin.container.carousel', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.server.config.carousel_type', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.server.config.carousel_type', + 'Grid Config: eg.grid.admin.server.config.carousel_type', + 'cwst', 'label' + ) +); + +COMMIT;