LP#1697954: Provide custom comparator for sorting money on renew
authorMike Rylander <mrylander@gmail.com>
Wed, 14 Jun 2017 16:07:52 +0000 (12:07 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 29 Jun 2017 19:05:57 +0000 (15:05 -0400)
commitc18cf937b78d39f1d3a866555d0531096ec5931c
tree180cd171fbde82873f5895d63f610b5a33bedb10
parent23d5b4aa57ca58b57bde63c7c463760948b37f29
LP#1697954: Provide custom comparator for sorting money on renew

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/renew/t_renew.tt2
Open-ILS/web/js/ui/default/staff/circ/renew/app.js