commit 752ce259302ce7522a0852eb289fd23ee979f0b5 Author: Karsten Loesing karsten.loesing@gmx.net Date: Thu Jan 19 20:34:33 2012 +0100
Fix network-status page. --- .../torproject/ernie/web/NetworkStatusServlet.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/ernie/web/NetworkStatusServlet.java b/src/org/torproject/ernie/web/NetworkStatusServlet.java index 7d4abd1..c206a19 100644 --- a/src/org/torproject/ernie/web/NetworkStatusServlet.java +++ b/src/org/torproject/ernie/web/NetworkStatusServlet.java @@ -100,7 +100,7 @@ public class NetworkStatusServlet extends HttpServlet { + "descriptor.platform FROM statusentry JOIN descriptor " + "ON descriptor.descriptor = statusentry.descriptor " + "WHERE statusentry.validafter = " - + "(SELECT MAX(validafter) FROM statusentry) " + + "(SELECT MAX(validafter) FROM consensus) " + "ORDER BY " + orderBy + " " + orderParameter.toUpperCase();
ResultSet rs = statement.executeQuery(query);
tor-commits@lists.torproject.org