small circular points
[MojoFacets.git] / templates / sorting.html.ep
index c3901d1..6b30f7b 100644 (file)
@@ -1,4 +1,6 @@
 
+<span class=sort-by>
+
 sort:
 
 % if ( $sort eq 'c' ) {
@@ -21,5 +23,11 @@ value:
 <a href="<%= url_for->query( name => $name, sort => 'd' ) %>">desceding</a>
 % }
 
-<%= $numeric ? 'numeric' : '' %>
+% if ( $numeric && $sort =~ m/^[ad]$/ ) {
+<span id=numeric>numeric</span><!-- hint to facet_graph.js -->
+% } elsif ( $numeric ) {
+numeric
+% }
+
+</span>