Bug 13452: Fix obvious issues in issues_avg_stats.pl
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 2 Oct 2015 09:31:10 +0000 (11:31 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Jun 2017 18:27:45 +0000 (15:27 -0300)
commit25d28e7c8100c1993f8794e39ed135781de04a47
treecb141ffa658d32b031fefb3b3d48ae4c0258fff6
parentd0bf036c1828bbbd37a022f8449e217e8e269475
Bug 13452: Fix obvious issues in issues_avg_stats.pl

- Remove joins with issuingrules which are not needed
- Fix the SQL query so that $weight is now the value of COUNT(*) instead
  of a timestamp
- QA fix: '$column eq $itype' instead of '$column =~ $itype' (same for
  $line)

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
reports/issues_avg_stats.pl