You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2008/04/02 07:44:28 UTC

svn commit: r643751 - /ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java

Author: jaz
Date: Tue Apr  1 22:44:27 2008
New Revision: 643751

URL: http://svn.apache.org/viewvc?rev=643751&view=rev
Log:
changed to order descending

Modified:
    ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java

Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java?rev=643751&r1=643750&r2=643751&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java (original)
+++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java Tue Apr  1 22:44:27 2008
@@ -984,7 +984,7 @@
             } 
             // set distinct on so we only get one row per job
             EntityFindOptions findOpts = new EntityFindOptions(true, EntityFindOptions.TYPE_SCROLL_INSENSITIVE, EntityFindOptions.CONCUR_READ_ONLY, true);
-            List orderBy = UtilMisc.toList("runTime");
+            List orderBy = UtilMisc.toList("-runTime");
             EntityCondition cond = null;
             if (conditions.size() > 0) {
                 cond = new EntityConditionList(conditions, EntityOperator.AND);