Bug 33060: Fix yes/no setting to 1/0 in system preference YAML files

Boolean system preferences need to use 1 and 0 for true and false,
not yes and no now. This fixes a few occurences that have
been added in the last release:

* EnableItemGroups
* EnableItemGroupHolds
* ArticleRequestsOpacHostRedirection
* UseLocationAsAQInSIP

To test:
* Make sure these preferences save to the db as 0/1 as expected.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-02-23 22:16:56 +00:00 committed by Tomas Cohen Arazi
parent 8ba4aabf07
commit d11abd548b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -1234,8 +1234,8 @@ Circulation:
-
- pref: ArticleRequestsOpacHostRedirection
choices:
yes: Enable
no: Disable
1: Enable
0: Disable
- " redirection from child to host based on MARC21 773$w when the child has no items when requesting articles on the Opac."
-
- pref: ArticleRequestsLinkControl
@ -1356,8 +1356,8 @@ Circulation:
- Use
- pref: UseLocationAsAQInSIP
choices:
yes: permanent_location
no: homebranch
1: permanent_location
0: homebranch
- for AQ field in SIP protocol.
Curbside pickup module: