[Koha-bugs] [Bug 16413] Prototype for GetLatestAutoRenewDate and GetSoonestRenewDate should be changed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 9 09:05:20 CET 2017


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51100|0                           |1
        is obsolete|                            |
  Attachment #51101|0                           |1
        is obsolete|                            |

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 58671
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58671&action=edit
Bug 16413: Change prototype of GetLatestAutoRenewDate

Currently the 2 GetLatestAutoRenewDate and GetSoonestRenewDate
subroutines takes $borrowernumber and $itemnumber in parameter.
They refetch the patron, item and issue information but they already are
available from where they are called.
It would make sense to change the prototype of these 2 subroutines to
accept the patron, item and issue information directly to avoid
unnecessary refetches.

Test plan:
Make sure this change does not introduce regressions on bug 15581 and bug
16344.

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


More information about the Koha-bugs mailing list