LP1987910: Correcting typo in opac.located_uri.act_as_copy
authorGina Monti <gmonti@biblio.org>
Tue, 29 Nov 2022 15:20:11 +0000 (10:20 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 1 Mar 2023 17:10:09 +0000 (12:10 -0500)
Includes revisions by Scott Angel.

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
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.typo-global-flag-opac-located-uri-act-as-copy.sql [new file with mode: 0644]

index aa2c243..35b2765 100644 (file)
@@ -12640,7 +12640,7 @@ VALUES (
     FALSE,
     oils_i18n_gettext(
         'opac.located_uri.act_as_copy',
-        'When enabled, Located URIs will provide visiblity behavior identical to copies.',
+        'When enabled, Located URIs will provide visibility behavior identical to copies.',
         'cgf',
         'label'
     )
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-global-flag-opac-located-uri-act-as-copy.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-global-flag-opac-located-uri-act-as-copy.sql
new file mode 100644 (file)
index 0000000..f385ab4
--- /dev/null
@@ -0,0 +1,11 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version);
+
+UPDATE config.global_flag
+SET label = 'When enabled, Located URIs will provide visibility behavior identical to copies.'
+WHERE name = 'opac.located_uri.act_as_copy'
+  AND label =
+      'When enabled, Located URIs will provide visiblity behavior identical to copies.';
+
+COMMIT;
\ No newline at end of file