[tor-commits] [metrics-web/master] Actually carry query from "all" aggregation down
karsten at torproject.org
karsten at torproject.org
Wed Jul 18 14:30:12 UTC 2018
commit bc4763fae08369c03236413d7e388795af6bc051
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Wed Jul 11 09:57:12 2018 +0100
Actually carry query from "all" aggregation down
Really just a typo fix. The queries were evaluated, but never output in
the template.
Fixes: #25864
---
src/main/resources/web/templates/rs/aggregate/search.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/web/templates/rs/aggregate/search.html b/src/main/resources/web/templates/rs/aggregate/search.html
index ea52d0f..6679846 100644
--- a/src/main/resources/web/templates/rs/aggregate/search.html
+++ b/src/main/resources/web/templates/rs/aggregate/search.html
@@ -86,7 +86,7 @@
</td>
<% } else { %>
<td data-order="<%= aggregate.country.size.toString().padStart(10, "0") %>">
- (<a href="#aggregate/cc<%= (query || aggregate.version) ? "/" : "" %><% (query) ? query + " " : "" %><%= (aggregate.version) ? "version:" + aggregate.version + " " : "" %>"><%= aggregate.country.size %> distinct</a>)
+ (<a href="#aggregate/cc<%= (query || aggregate.version) ? "/" : "" %><%= (query) ? query + " " : "" %><%= (aggregate.version) ? "version:" + aggregate.version + " " : "" %>"><%= aggregate.country.size %> distinct</a>)
</td>
<% } %>
<% } %>
@@ -101,7 +101,7 @@
</td>
<% } else { %>
<td data-order="<%= aggregate.as.size.toString().padStart(10, "0") %>">
- (<a href="#aggregate/as<%= (query || aggregate.version) ? "/" : "" %><% (query) ? query + " " : "" %><%= (aggregate.version) ? "version:" + aggregate.version + " " : "" %>"><%= aggregate.as.size %> distinct</a>)
+ (<a href="#aggregate/as<%= (query || aggregate.version) ? "/" : "" %><%= (query) ? query + " " : "" %><%= (aggregate.version) ? "version:" + aggregate.version + " " : "" %>"><%= aggregate.as.size %> distinct</a>)
</td>
<% } %>
<% } %>
More information about the tor-commits
mailing list