]> git.koha-community.org Git - koha.git/commit
Bug 22044: Set default and add NoRenewalBeforePrecision preference for new/affected...
authorNick Clemens <nick@bywatersolutions.com>
Fri, 21 Dec 2018 19:19:05 +0000 (19:19 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 17 Apr 2019 10:08:57 +0000 (10:08 +0000)
commit4779cf845077ffd7f564b63b22f72ba99aa812ff
treea0ea90bf7819b1ea3373843b7d97807d470217a0
parent9f34d208d08fc89d2d0b4d3718fc43e3f32ff055
Bug 22044: Set default and add NoRenewalBeforePrecision preference for new/affected installs

I am not sure the correct answer - for upgraded installs the pref was
set to date, which changed behaviour

For new installs the pref was unset, behaved as if 'exact_time' so we
shouldn't change behaviour?

If the perceived default is date then the code should be changed, or
this shouldn't be a pref at all?

To test:
1 - Have a new system missing this pref
2 - Note when searchign the pref in staff client if appears as 'date'
3 - Check the db to confirm value is 'NULL'
4 - Apply patch and run update
5 - Pref is now set to 'exact_time'

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_22044_set_default_value_for_NoRenewalBeforePrecision.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql