]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1697954: Provide custom comparator for sorting money on checkin
authorMike Rylander <mrylander@gmail.com>
Wed, 14 Jun 2017 16:11:27 +0000 (12:11 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 30 Jun 2017 14:44:29 +0000 (10:44 -0400)
commitdac1016c777c821b455f9be34e093a1441a52326
treeb71642a63123be1671d6d08b06f22881558d422d
parent26352c64f78e45ee7be09439f40e03a31bbc67f9
LP#1697954: Provide custom comparator for sorting money on checkin

mbts.balance_owed often arrives as a string, so we provide here a custom
comparator function that runs the values through parseFloat() before comparing
them.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Andrea Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js