numeric facet sorting
[MojoFacets.git] / templates / data / facet.html.ep
index 8a9f89a..edf70cc 100644 (file)
@@ -30,6 +30,8 @@ sort:
 <a href="<%= url_for->query( name => $name, sort => 'c' ) %>">count</a>
 % }
 
+value:
+
 % if ( $sort eq 'a' ) {
 <b>ascending</b>
 % } else {
@@ -41,3 +43,5 @@ sort:
 % } else {
 <a href="<%= url_for->query( name => $name, sort => 'd' ) %>">desceding</a>
 % }
+
+<%= $numeric ? 'numeric' : '' %>