From: Mike Rylander Date: Wed, 14 Jun 2017 16:07:52 +0000 (-0400) Subject: LP#1697954: Provide custom comparator for sorting money on renew X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=54a56fdead3848231f90251926023467a3e5e842;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 b/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 index db3414ec8a..5f5e03bea5 100644 --- a/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 +++ b/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 @@ -71,7 +71,7 @@ path="acp.alert_message"> + path='mbts.balance_owed' comparator="sort_money">