http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8858 Priority: P5 - low Change sponsored?: --- Bug ID: 8858 CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Assignee: koha-bugs@lists.koha-community.org Summary: C4::Circulation::GetBranchItemRule is poorly written Severity: enhancement Classification: Unclassified OS: All Reporter: kyle@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.