projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52198cb
)
signal sorted numeric output
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 May 2010 22:15:34 +0000
(
00:15
+0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 May 2010 22:15:34 +0000
(
00:15
+0200)
templates/sorting.html.ep
patch
|
blob
|
history
diff --git
a/templates/sorting.html.ep
b/templates/sorting.html.ep
index
c3901d1
..
3055787
100644
(file)
--- a/
templates/sorting.html.ep
+++ b/
templates/sorting.html.ep
@@
-21,5
+21,9
@@
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 -->
+% } else {
+numeric
+% }