Koha/koha-tmpl/intranet-tmpl/prog/en
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
..
data
includes Bug 28356: Consolidate catalogue search box code 2021-09-21 20:22:57 +02:00
modules Bug 29073: Use 0 and 1 as values for DefaultHoldExpirationdate 2021-09-28 15:12:44 +02:00
xslt Bug 10265: (QA follow-up) Make if-else checks consistent 2021-09-09 10:59:38 +02:00
columns.def Bug 28490: Revert "Bug 26995: Remove references to relationship column" 2021-06-14 17:35:19 +02:00