Koha/installer/data/mysql
Katrin Fischer 34c85d051d
Bug 35973: Correct wrong values for RedirectGuaranteeEmail system preference
The system preferences was added with 0/1 in sysprefs.sql is checked
as boolean. But the .pref file was added with yes/no which both
evaluate as strings to true.

This fixes the .pref file and includes a database update that sets
0 and 1 correctly for the value currently chosen in the pref.

To test:
* Make sure to update RedirectGuaranteeEmail to Enable/Don't enable
  before applying the patch
* Verify in the database, that the values was set to yes or no
  You can use a report like:
    SELECT * from systempreferences WHERE variable = "RedirectGuaranteeEmail";
* Apply patch and run database update
* Verify the value in the database was corrected:
  Yes = 1, No = 0
* Change the setting, verify the new value is stored correctly

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-19 18:06:34 +02:00
..
atomicupdate Bug 35973: Correct wrong values for RedirectGuaranteeEmail system preference 2024-04-19 18:06:34 +02:00
db_revs Bug 36343: DBRev 23.12.00.020 2024-04-16 17:59:44 +02:00
en Bug 34793: (QA follow-up): forgotten 'Cookie consents'=>'Cookies policy' 2024-03-26 11:21:17 +01:00
localization Bug 34558: Update custom.sql for it-IT webinstaller 2023-10-09 11:41:31 -03:00
mandatory Bug 36051: Add option to specify SMS::Send driver parameters in a system preference 2024-04-12 11:26:11 +02:00
backfill_statistics.pl
fix_unclosed_nonaccruing_fines_bug17135.pl
kohastructure.sql Bug 6796: Add library_hours table and set opening hours for library 2024-04-12 11:26:03 +02:00
labels_upgrade.pl
patroncards_upgrade.pl
update22to30.pl
updatedatabase.pl Bug 34685: Make updatedatabase.pl propagate the error 2023-09-06 15:05:21 -03:00