Bug 33060: Fix yes/no setting to 1/0 in system preference YAML files
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 23 Feb 2023 22:16:56 +0000 (22:16 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 20 Mar 2023 12:39:51 +0000 (09:39 -0300)
commitd11abd548bc879aa01216f9c2b472cc8621dcda8
treeb4b6eebc965253a24d4587bf971c02f7f5a51215
parent8ba4aabf079d23680a7e40b004b1914864963659
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref