[Koha-bugs] [Bug 29476] Earliest renewal date is displayed wrong in circ/renew.pl for issues with auto renewing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 2 11:07:13 CET 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com
             Status|Signed Off                  |Failed QA

--- Comment #9 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
1. There is a return in an assignment statement:
+        my $soonestrenewal = return dt_from_string( $itemissue->date_due );

2. Wondering, should we 
  return $soonestrenewal if $now < $soonestrenewal;
?

3. Shouldn't we finally call GetSoonestRenewDate from _CanBookBeAutoRenewed?

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


More information about the Koha-bugs mailing list