Bug 7679: Various fixes for circulation statistics wizard
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 24 Mar 2014 10:56:58 +0000 (11:56 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 11:56:51 +0000 (11:56 +0000)
commit13a528f2f3a3630239cc804cd3dcf214cc3412f1
treef7254191144edd74253bbc67aa3227182e84633e
parent916e9f4619229da80d7d8c45cecb77fc7db61816
Bug 7679: Various fixes for circulation statistics wizard

- use SQL TRIM functions to avoid having '' and ' ' considered as
  different values
- use Text::Unaccent to remove accents from columns or rows values when
  accessing %table. This is required as MySQL consider as equals two
  strings that differ only by their accents when using GROUP BY clause.
- Exclude '' values from the list of columns or rows. Otherwise we could
  have a row 'UNKNOWN VALUE' and a row 'NULL' which both have the same
  values in their cells.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
reports/issues_stats.pl