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 <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-11-04 23:46:39 +00:00 committed by Tomas Cohen Arazi
parent 5a5c034b8d
commit aae59b54f5
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ return {
);
# sysprefs
say $out "Added new system preference 'ForcedLibrarySelection'";
say $out "Added new system preference 'ForceLibrarySelection'";
},
};

View file

@ -139,7 +139,7 @@ Administration:
1: "Yes"
0: "No"
-
- pref: ForcedLibrarySelection
- pref: ForceLibrarySelection
choices:
1: "Force"
0: "Don't force"

View file

@ -148,7 +148,7 @@
<option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
[% END %]
</select>
[% IF Koha.Preference('ForcedLibrarySelection') %]
[% IF Koha.Preference('ForceLibrarySelection') %]
<span class="required">Required</span>
[% END %]
</p>