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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 2 15:49:53 CEST 2016


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

            Bug ID: 16413
           Summary: Prototype for GetLatestAutoRenewDate and
                    GetSoonestRenewDate should be changed
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 16344

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.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344
[Bug 16344] Add a circ rule to limit the auto renewals given a specific date
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list