[Koha-bugs] [Bug 8017] Remove unnecessary processing on return of GetAllIssues
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun May 13 16:13:09 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8017
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9317|0 |1
is obsolete| |
--- Comment #2 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 9536
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9536&action=edit
Bug 8017 reduce manipulation of GetAllIssues return
GetAllIssues can produce large lists
For performance purposes:
Dont loop over the list without cause
Dont do expensive processing in the loop
Dont needlessly copy the array
Do display formatting in the template
Dont extract the barcode list unless we are producing it
Reduce db calls by using the data to hand
Make the table in the template a bit more readable
where everything was stuffed into one line
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list