[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/release] Actually carry query from "all" aggregation down



commit bc4763fae08369c03236413d7e388795af6bc051
Author: Iain R. Learmonth <irl@xxxxxxxx>
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>
         <% } %>
       <% } %>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits