[Koha-bugs] [Bug 23207] Allow automatic checkin/return at end of circulation period

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 22 14:11:24 CEST 2021


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

--- Comment #37 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 120000
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120000&action=edit
Bug 23207: Automatic checkin items should never be overdue

This patch makes Koha::Checkouts->automatic_checkin pass the date_due as
return date to AddReturn.

To test:
1. Apply the regression tests
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Checkouts.t
=> FAIL: The feature is not working properly
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list