Koha-clms/installer/data/mysql/atomicupdate
Martin Renvoize cd47fb5ca7
Bug 40435: (follow-up) Change preference type to YesNo
Change FutureHoldsBlockRenewals from type 'Integer' to 'YesNo'
for consistency with other boolean preferences in Koha (e.g.,
AllowHoldDateInFuture, OPACAllowHoldDateInFuture).

While the preference functionally works as Integer due to the
.pref file defining the choices, YesNo is the established
convention for binary system preferences.

Test plan:
1. Apply this patch
2. Run the database update
3. Verify the preference appears correctly in system preferences
4. Verify the preference still functions properly with tests:
   prove t/db_dependent/Circulation.t :: "CanBookBeRenewed | future holds"

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-01-22 10:02:24 -07:00
..
README Bug 39392: Fix typos in atomicupdate README 2025-04-14 08:51:02 +02:00
bug_40435.pl Bug 40435: (follow-up) Change preference type to YesNo 2026-01-22 10:02:24 -07:00
skeleton.pl Bug 38394: Remove existing try/catch and say_failure from DB revs 2024-11-07 16:29:20 +01:00

README

Please put your database revision files in this folder.
The Release Manager will remove them from here when pushing your patches.

To use the skeleton.pl for your update:

% cp installer/data/mysql/atomicupdate/skeleton.pl
installer/data/mysql/atomicupdate/bug_XXXXX.pl

and put your modifications in where noted.