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)
committerMike Rylander <mrylander@gmail.com>
Fri, 30 Jun 2017 14:44:29 +0000 (10:44 -0400)
commitc5c5f878d3f15b04475ce5f76a844b78953ce1a5
tree2fd2054f809412529b5b079eb0b741408440187c
parent1e0ff6f2b91293e80588cb4843b0911a5c85953f
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