[Koha-bugs] [Bug 12847] Date comparisons in C4::Members::IssueSlip are broken
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 16 23:57:25 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12847
Nick Clemens <nick at quecheelibrary.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #37946|0 |1
is obsolete| |
--- Comment #31 from Nick Clemens <nick at quecheelibrary.org> ---
Created attachment 37992
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37992&action=edit
[SIGNED OFF] Bug 12847: Items issued today is considered as overdue
The date comparisons in C4::Members::IssueSlip does not work as
expected.
Is an item is issue yesterday and due today (23:59), it should not be
considered as an overdue yet.
Test plan:
Define a valid issue slip (code ISSUESLIP)
Check 2 items out and update the issuedate value for one of them as
yesterday (using the mariadb/mysql cli or similar)
Print the slip
Before this patch the item marked as issued yesterday is considered as
overdue.
Special cases:
- hourly loans
- Quick slip is impacted too
Signed-off-by: Nick Clemens <nick at quecheelibrary.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list