From 352a9cba5339ba2c2dd5efc2718254161f30c668 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 18 May 2010 00:15:34 +0200 Subject: [PATCH] signal sorted numeric output --- templates/sorting.html.ep | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/sorting.html.ep b/templates/sorting.html.ep index c3901d1..3055787 100644 --- a/templates/sorting.html.ep +++ b/templates/sorting.html.ep @@ -21,5 +21,9 @@ value: desceding % } -<%= $numeric ? 'numeric' : '' %> +% if ( $numeric && $sort =~ m/^[ad]$/ ) { +numeric +% } else { +numeric +% } -- 2.20.1