]> git.koha-community.org Git - koha.git/commit
Bug 24759: CleanUp OpacRenewalBranch values
authorNick Clemens <nick@bywatersolutions.com>
Fri, 28 Feb 2020 13:23:44 +0000 (13:23 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 10:48:00 +0000 (10:48 +0000)
commit8dfb0adc8c4ce5b75a8d945b58836fb7e41cb685
tree391cd5e987ab4649afc36edb3beadca3870776d3
parent6de018f65fb285620ad17357bd63897f7088b6d5
Bug 24759: CleanUp OpacRenewalBranch values

We had a unique behvaiour where the syspref was set to string 'NULL'
as opposed to undef, we need to clean that up

To test:
1 - Set OpacRenewalBranch to 'NULL' in staff interface
2 - Renew via opac
3 - Check statistics to ensure branch is blank

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Item.pm
installer/data/mysql/atomicupdate/Bug_24759_cleanup_OpacRenewalBranch.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
t/db_dependent/Koha/Item.t