[Koha-bugs] [Bug 19014] Patrons should not get a on_reserve notification if the checkout is due in the future

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 7 19:14:57 CEST 2017


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 65590
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65590&action=edit
Bug 19014: Do not sent on_reserve notification if the checkout is due in the
future

If holds exist on an item that have been checked out and marked as auto
renewal, we do not want to notify patrons with a on_reserve notification
if the checkout is due in the future.
These on_reserve notifications must only be sent if the checkout is due
today or in the past.

Test plan:
- Check an item in and mark it as auto renewal, use a due date in the
past to ease the testing
- Place a hold in this item
- Execute the cronjob
=> Without this patch, the patron will get notified even if the checkout
is due in the future
=> With this patch applied the patron will only get notified the day the
checkout is due or if the due date is passed

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list