[Koha-bugs] [Bug 3227] New: Branch transfer limits builds display hash inefficiently, not suitable for consortia
bugzilla-daemon at liblime.com
bugzilla-daemon at liblime.com
Sat May 16 00:03:12 CEST 2009
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3227
Summary: Branch transfer limits builds display hash
inefficiently, not suitable for consortia
Product: Koha
Version: HEAD
Platform: PC
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: Circulation
AssignedTo: galen.charlton at liblime.com
ReportedBy: rch at liblime.com
Estimated Hours: 0.0
Change sponsored?: ---
Timeouts are likely to occur when loading admin/branch_transfer_limits.pl
if a Koha system has a large number of branches and itemtype / ccodes defined.
This is due to a three level nested loop used to build the display data
structure.
For larger data sets, a more efficient method needs to be implemented, e.g.
C4::GetBranchTransferLimits could build the whole structure rather than calling
IsBranchTransferAllowed num_branches^2 * num_ccodes times (18,000 times for 30
branches & 20 ccodes).
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list