Koha/catalogue
Joe Atzberger 458b0ed510 GetAuthValCode calls were positioned inside the loop,
despite the same values being supplied each time.  Then
the conditional assignments would repeat the same calls again!
That means execution was liable to query the DB at least once
and as many as four times per item.  With a large number of items
this is an unnecessary burden.  By moving the calls outside
the loop, we can guarantee that we never have to call the DB for
that info more than twice (once for lost, once for damaged).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-01-07 15:11:17 -06:00
..
cardview.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
detail.pl GetAuthValCode calls were positioned inside the loop, 2009-01-07 15:11:17 -06:00
detailprint.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
dictionary.pl cataloge subdir (and cataloguing) - Dates.pm integration and warnings fixes. 2007-12-04 18:21:11 -06:00
export.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
ISBDdetail.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
issuehistory.pl bug 2874 [3/3] flagsrequired => { circulate => "circulate_remaining_permissions" } 2008-12-23 17:02:04 -06:00
MARCdetail.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
moredetail.pl moredetail.pl is not an Exporter. 2008-09-16 22:21:55 -05:00
search.pl The current searching in labels is a bit minimal, and current only does keyword searching. 2008-12-31 11:15:44 -06:00
showmarc.pl remove superfluous retrieval of $ENV{'REMOTE_USER'} 2008-12-05 16:03:43 -06:00
suggest.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
updateitem.pl Update longoverdue.pl cron job to manage setting lost values. 2008-08-10 15:54:29 -05:00