LP1904036: Seed data fixes
authorJane Sandberg <js7389@princeton.edu>
Wed, 19 Oct 2022 01:40:08 +0000 (18:40 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:43 +0000 (20:13 -0400)
* Add description to angular patron ou setting
* Add patron ou setting to seed data
* Add a missing comma

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-patron.sql

index d95fb18..904ef80 100644 (file)
@@ -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
index 8102499..6b367f2 100644 (file)
@@ -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'
     )
 );