[Koha-bugs] [Bug 19626] New: Database update for bug 12063 incorrectly calculates expirationdate for holds
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 15 13:56:58 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19626
Bug ID: 19626
Summary: Database update for bug 12063 incorrectly calculates
expirationdate for holds
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Hold requests
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
Logic in short seems to be:
1 - Does hold already have an expirationdate?
a- Keep it if before calculated expirationdate
2 - If not 1 then calculate expiration as curdate + delay (+ holidays if pref)
The problem is, before 12063 waiting holds didn't have an expirationdate, so a
hold that has been waiting for 2 months will now get a waiting date after the
upgrade.
I think line 14374 should be:
my $expirationdate = dt_from_string($hold->waitingdate);
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list