[Koha-bugs] [Bug 17689] Add the Koha::Issue->is_overdue method
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 29 23:27:57 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17689
Mika <mikasmith at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #57786|0 |1
is obsolete| |
--- Comment #2 from Mika <mikasmith at catalyst.net.nz> ---
Created attachment 57810
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57810&action=edit
Bug 17689: Add the Koha::Issue->is_overdue method
This patch adds a new method Koha::Issue->is_overdue and provide tests
to cover it.
The goal is to behave like GetItemIssues set the 'overdue' flag to
issues.
I don't understand why the existing GetItemIssues truncate dates to
minutes, so I did not recreate this behavior.
Test plan:
prove t/db_dependent/Koha/Issues.t
should return green
Signed-off-by: Mika Smith <mikasmith at catalyst.net.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list