From: Jane Sandberg Date: Wed, 19 Oct 2022 01:40:08 +0000 (-0700) Subject: LP1904036: Seed data fixes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2fbab11405593dea8ed9b960295eee43bd4e4b41;p=evergreen%2Fpines.git 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 --- 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' ) );