[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
Fri Oct 10 16:52:08 CEST 2014


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

Owen Leonard <oleonard at myacpl.org> changed:

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

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 32159
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32159&action=edit
[SIGNED-OFF] 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>

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


More information about the Koha-bugs mailing list