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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 27 Jun 2017 21:25:56 +0000 (23:25 +0200)
commit296a7c8377c88d4702650b815975a6f5aff31984
treecbf58b2ece36707ea1b07b6ac30caad0314d1bcb
parent9d558d580c2e8ef949bdb74c8108a0d6d7afe453
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>
(cherry picked from commit 25d28e7c8100c1993f8794e39ed135781de04a47)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 99e3ef75544dadf2544977ae37fecb32f1384496)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
reports/issues_avg_stats.pl