Author: jaz
Date: Tue Apr 1 22:44:27 2008
New Revision: 643751
URL:
http://svn.apache.org/viewvc?rev=643751&view=revLog:
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);