Remove bottleneck making claims page unuseable
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 8 Apr 2010 16:58:20 +0000 (17:58 +0100)
committerColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 8 Apr 2010 17:05:42 +0000 (18:05 +0100)
commit5226371ea3e438c2ecf43ef18cbac090fe17c373
treefc30369c7f0b48805c3f08719bd96c4d158d2581
parentbf0eed8d3137c489a15e49bbfdabb86d6cf12bc5
Remove bottleneck making claims page unuseable

While the idea of showing the number of late serials against the
vendor name was nice it does not scale and on large sites selecting claims
was just timing out. Improved the speed of the initial query but have removed
the big query for each user just to get a count.
Check for 0000-00-00 dates so that C4::Dates does not log error
Removed a variable that was never set and the bit of template used
if the impossible happened
C4/Serials.pm
koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl
serials/claims.pl