tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1037658 - /tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java
Date Mon, 22 Nov 2010 10:16:37 GMT
Author: markt
Date: Mon Nov 22 10:16:37 2010
New Revision: 1037658

URL: http://svn.apache.org/viewvc?rev=1037658&view=rev
Log:
Fix ordering functionality for Manager app

Modified:
    tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java

Modified: tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java?rev=1037658&r1=1037657&r2=1037658&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java (original)
+++ tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java Mon Nov 22 10:16:37
2010
@@ -948,9 +948,9 @@ public final class HTMLManagerServlet ex
                 orderBy = req.getParameter("order");
                 if ("DESC".equalsIgnoreCase(orderBy)) {
                     comparator = new ReverseComparator(comparator);
-                    // orderBy = "ASC";
+                    orderBy = "ASC";
                 } else {
-                    //orderBy = "DESC";
+                    orderBy = "DESC";
                 }
                 try {
                     Collections.sort(sessions, comparator);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message