[Koha-bugs] [Bug 8858] New: C4::Circulation::GetBranchItemRule is poorly written

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 2 13:47:08 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8858

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8858
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
          Assignee: koha-bugs at lists.koha-community.org
           Summary: C4::Circulation::GetBranchItemRule is poorly written
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: kyle at bywatersolutions.com
          Hardware: All
            Status: NEW
           Version: master
         Component: Circulation
           Product: Koha

The function C4::Circulation::GetBranchItemRule is mean to return back the
'hold allowed' policy and whether to return an item to the home or holding
branch. A visual inspection of this subroutine shows that it could be
re-factored for efficiency. It always runs all four searches even if it is
unnecessary.

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


More information about the Koha-bugs mailing list