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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/