Koha/installer/data/mysql
Nick Clemens 1b6ed8097e Bug 29073: Use 0 and 1 as values for DefaultHoldExpirationdate
DefaultHldexpirationDate is set in the pref screen to 'yes/no'

The code checks if the preference is 'true', 'no' is true

We should instead use 1/0

To test:
0 - Have a fresh devbox
1 - With syspref disabled, place a hold
2 - Note no expiration date set
3 - Enable the preference
4 - Place a hold and note the expiration date is set, good
5 - Disable the pref
6 - Place a hold and note the expiration date is set, bad
7 - Apply patch
8 - Update database
9 - Repeat 1-8, date not set when pref disabled

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-09-28 15:12:44 +02:00
..
atomicupdate Bug 29073: Use 0 and 1 as values for DefaultHoldExpirationdate 2021-09-28 15:12:44 +02:00
db_revs Bug 28534: DBRev 21.06.00.023 2021-09-28 15:12:44 +02:00
en Bug 24387: Fix sample_news.yml installer file 2021-08-16 11:55:55 +02:00
fr-CA Bug 24387: Remove sample_news.for other languages 2021-08-16 11:55:55 +02:00
fr-FR Bug 24387: Remove sample_news.for other languages 2021-08-16 11:55:55 +02:00
localization Bug 28108: Replace one remaining occurrence 2021-05-10 15:52:53 +02:00
mandatory Bug 28373: Add PassItemMarcToXSLT system preference 2021-08-31 08:49:04 +02:00
nb-NO Bug 24387: Remove sample_news.for other languages 2021-08-16 11:55:55 +02:00
backfill_statistics.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
kohastructure.sql Bug 28534: Fix engine for pending_offline_circulations table 2021-09-28 12:31:42 +02:00
labels_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
patroncards_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
update22to30.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
updatedatabase.pl Bug 25078: Keep atomic updates in "atomicupdate" dir 2021-08-16 11:55:56 +02:00