]> git.koha-community.org Git - koha.git/commit
Bug 11990 - Holds ratio report (circ/reserveratios.pl) sorts numeric values as text
authorOlli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Wed, 8 Oct 2014 12:22:53 +0000 (15:22 +0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 12:46:38 +0000 (09:46 -0300)
commit6b75da76622aaf1e7f5bffb85217259e364992af
tree26447325a1890ed2cb802844c1cbc607389280d6
parentb52a24efb204ccc5b63eabf774ee6467a2f9f09b
Bug 11990 - Holds ratio report (circ/reserveratios.pl) sorts numeric values as text

This patch makes columns Holds, Items and "Hold ratio" to sort
numerically instead of lexicographically. Also changes default sorting
column from "Holds" to "Hold ratio" because this is a hold ratios
-report, not hold count report.

Also cleans up an excess aoColumn -definition, because aoColumns ==
aoColumnDefs without target operator. No point in defining columns
twice.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt