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)
committerBill Erickson <berickxx@gmail.com>
Thu, 29 Jun 2017 19:05:47 +0000 (15:05 -0400)
commit246b4871355c9a84c184c3ef85aeb654103fd516
tree6d3162bcebb11296485460ee7943471850ab85a5
parent41ef6b73fd697f8e669f6e9e66a22a47874d6f54
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