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>
Wed, 21 Jun 2017 15:15:14 +0000 (11:15 -0400)
commit155b5250b8753dc48d340643a3bf75d85d3ca58b
treed2e21e0f6f6eb7d74ebc9b7b797640203b6f44e3
parentdcdc0dd396390fe8abd61185fc8984a9ce2ae658
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>
Open-ILS/src/templates/staff/circ/renew/t_renew.tt2
Open-ILS/web/js/ui/default/staff/circ/renew/app.js