esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdic...@apache.org
Subject svn commit: r802759 - /incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala
Date Mon, 10 Aug 2009 12:26:43 GMT
Author: vdichev
Date: Mon Aug 10 12:26:43 2009
New Revision: 802759

URL: http://svn.apache.org/viewvc?rev=802759&view=rev
Log:
Reverse order of messages in streams page so that the newest messages are displayed instead
of the oldest

Modified:
    incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala

Modified: incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala?rev=802759&r1=802758&r2=802759&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala Mon Aug
10 12:26:43 2009
@@ -90,7 +90,7 @@
       
       val query = poolsQuery :::
                   resentQuery :::
-                  List[QueryParam[Message]](OrderBy(Message.id, Ascending), MaxRows(40))

+                  List[QueryParam[Message]](OrderBy(Message.id, Descending), MaxRows(40))

       
       Message.findAll(query: _*) match {
         case Nil => NodeSeq.Empty



Mime
View raw message