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=155b5250b8753dc48d340643a3bf75d85d3ca58b;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 967817647e..7b0fdb791f 100644 --- a/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 +++ b/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 @@ -72,7 +72,7 @@ path="acp.alert_message"> + path='mbts.balance_owed' comparator="sort_money">