[Koha-bugs] [Bug 11990] Holds ratio report (circ/reserveratios.pl) sorts numeric values as text

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Oct 11 16:36:20 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11990

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32159|0                           |1
        is obsolete|                            |

--- Comment #5 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 32236
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32236&action=edit
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 at myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list