https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17689

--- Comment #1 from Jonathan Druart <[email protected]> 
---
Created attachment 57786
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57786&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

-- 
You are receiving this mail because:
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/

Reply via email to