[Koha-bugs] [Bug 29562] New: CanItemBeReserved should take patron and item objects as parameters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 23 20:59:04 CET 2021


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

            Bug ID: 29562
           Summary: CanItemBeReserved should take patron and item objects
                    as parameters
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

CanItemBeReserved takes a borrowernumber and an itemnumber and then fetches the
objects to do calculations.

Most calls to the routine already have the object, so we should be able to pass
them 

CanBookBeReserved loops on every item, fetching the patron anew each time.

Changing the parameters will increase performance.

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


More information about the Koha-bugs mailing list