[koha-commits] main Koha release repository branch master updated. v16.11.00-114-g7ecd9e3
Git repo owner
gitmaster at git.koha-community.org
Fri Dec 23 13:00:38 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 7ecd9e330481389d523da27f962e8e5242c1bbfa (commit)
from 19ee95a6d5a292152ac0313ad4429b78210da4e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7ecd9e330481389d523da27f962e8e5242c1bbfa
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Nov 25 14:16:26 2016 +0100
Bug 17689: Add the Koha::Checkout->is_overdue method
This patch adds a new method Koha::Checkout->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/Checkouts.t
should return green
Signed-off-by: Mika Smith <mikasmith at catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Checkout.pm | 26 ++++++++++++++++++++++++++
t/db_dependent/Koha/Checkouts.t | 35 +++++++++++++++++++++++++++++++++--
2 files changed, 59 insertions(+), 2 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list