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

--- Comment #1 from David Bourgault <david.bourga...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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