[Koha-bugs] [Bug 20660] AddReturn should use return date override for debarments
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 25 22:01:19 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20660
--- Comment #1 from David Bourgault <david.bourgault at inlibro.com> ---
Created attachment 74857
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74857&action=edit
Bug 20660: AddReturn uses return_date override for new debarments
This patches is a minor tweak (single line) to C4::Circulation to use the
return_date value as $today when calculating new debarments in AddReturn.
I've also added a test in t/db_dependent/Circulation.t
TEST PLAN
1) comment out line 1988 in Circulation.pm ("$today = $return_date if
$return_date")
2) prove t/db_dependent/Circulation.t (Fail)
3) uncomment the line
4) prove t/db_dependent/Circulation.t (Pass)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list