From 2fbab11405593dea8ed9b960295eee43bd4e4b41 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Tue, 18 Oct 2022 18:40:08 -0700 Subject: [PATCH] LP1904036: Seed data fixes * Add description to angular patron ou setting * Add patron ou setting to seed data * Add a missing comma Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 14 +++++++++++++- Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-patron.sql | 9 +++++++-- 2 files changed, 20 insertions(+), 3 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 d95fb18ec6..904ef8030e 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1970,7 +1970,7 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES ( 638, 'RUN_SIMPLE_REPORTS', oils_i18n_gettext(638, 'Build and run simple reports', 'ppl', 'description')), ( 639, 'ADMIN_OPENATHENS', oils_i18n_gettext(639, - 'Allow a user to administer OpenAthens authentication service', 'ppl', 'description')) + 'Allow a user to administer OpenAthens authentication service', 'ppl', 'description')), ( 640, 'ACCESS_ANGULAR_CIRC', oils_i18n_gettext(640, 'Allow a user to access the experimental Angular circulation interfaces', 'ppl', 'description')) ; @@ -22346,6 +22346,18 @@ VALUES ( 'traditional staff catalog.', 'coust', 'description' ) +), ( + 'ui.staff.angular_circ.enabled', 'bool', 'gui', + oils_i18n_gettext( + 'ui.staff.angular_circ.enabled', + 'Enable Angular Circulation Menu', + 'coust', 'label' + ), + oils_i18n_gettext( + 'ui.staff.angular_circ.enabled', + 'Enable Angular Circulation Menu', + 'coust', 'description' + ) ); INSERT INTO config.print_template diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-patron.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-patron.sql index 81024998af..6b367f29ad 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-patron.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-patron.sql @@ -641,13 +641,18 @@ UPDATE config.print_template SET template = $TEMPLATE$ $TEMPLATE$ WHERE name = 'renew'; -INSERT INTO config.org_unit_setting_type (name, grp, datatype, label) +INSERT INTO config.org_unit_setting_type (name, grp, datatype, label, description) VALUES ( 'ui.staff.angular_circ.enabled', 'gui', 'bool', oils_i18n_gettext( 'ui.staff.angular_circ.enabled', 'Enable Angular Circulation Menu', - 'cwst', 'label' + 'coust', 'label' + ), + oils_i18n_gettext( + 'ui.staff.angular_circ.enabled', + 'Enable Angular Circulation Menu', + 'coust', 'description' ) ); -- 2.11.0