From: Mike Rylander Date: Wed, 14 Jun 2017 16:11:27 +0000 (-0400) Subject: LP#1697954: Provide custom comparator for sorting money on checkin X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8fd12f0890f5e12a705ab24b9cb37d2251e87f94;p=working%2FEvergreen.git LP#1697954: Provide custom comparator for sorting money on checkin 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/checkin/t_checkin_table.tt2 b/Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2 index c37dbd840f..618688c710 100644 --- a/Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2 +++ b/Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2 @@ -29,7 +29,7 @@ path="acp.alert_message"> + path='mbts.balance_owed' comparator="sort_money">