From 01fba184f1ff1a339149b12acfb0089ce990d75f Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 4 Nov 2023 23:46:39 +0000 Subject: [PATCH] Bug 34188: (QA follow-up) Fix different versions of system preference name: Force(d)LibrarySelection There were references to ForceLibrarySelection and ForceLibrarySelection (notice the additional d) in the patch. Standardized to: ForceLibrarySelection Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/bug_34188.pl | 2 +- .../intranet-tmpl/prog/en/modules/admin/preferences/admin.pref | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_34188.pl b/installer/data/mysql/atomicupdate/bug_34188.pl index a38be9eace..587e0c1b9d 100755 --- a/installer/data/mysql/atomicupdate/bug_34188.pl +++ b/installer/data/mysql/atomicupdate/bug_34188.pl @@ -13,7 +13,7 @@ return { ); # sysprefs - say $out "Added new system preference 'ForcedLibrarySelection'"; + say $out "Added new system preference 'ForceLibrarySelection'"; }, }; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref index af54800354..84238d0e53 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref @@ -139,7 +139,7 @@ Administration: 1: "Yes" 0: "No" - - - pref: ForcedLibrarySelection + - pref: ForceLibrarySelection choices: 1: "Force" 0: "Don't force" diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index b5653ae3f9..6688888049 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -129,7 +129,7 @@ [% END %] - [% IF Koha.Preference('ForcedLibrarySelection') %] + [% IF Koha.Preference('ForceLibrarySelection') %] Required [% END %]

-- 2.30.2