]> git.koha-community.org Git - koha.git/commit
Bug 8017 reduce manipulation of GetAllIssues return
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 27 Apr 2012 17:20:08 +0000 (18:20 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 15 Sep 2012 19:14:04 +0000 (07:14 +1200)
commitc37b4cc50169f3e906cf633c172ea3fe17061971
tree7ed69fb6937edec374e7be83945fbb62df8de3de
parentcfbcd840729f64d301172b955ec2206f74d1572e
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: Chris Cormack <chrisc@catalyst.net.nz>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt
members/readingrec.pl
opac/opac-readingrecord.pl