Author: jaz
Date: Tue Apr 1 21:26:35 2008
New Revision: 643734
URL:
http://svn.apache.org/viewvc?rev=643734&view=revLog:
changed job list sort to runTime and default view size to 50
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=643734&r1=643733&r2=643734&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 21:26:35 2008
@@ -914,11 +914,11 @@
}
result.put("viewIndex", new Integer(viewIndex));
- int viewSize = 20;
+ int viewSize = 50;
try {
viewSize = Integer.parseInt((String) context.get("VIEW_SIZE"));
} catch (Exception e) {
- viewSize = 20;
+ viewSize = 50;
}
result.put("viewSize", new Integer(viewSize));
@@ -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("serviceName");
+ List orderBy = UtilMisc.toList("runTime");
EntityCondition cond = null;
if (conditions.size() > 0) {
cond = new EntityConditionList(conditions, EntityOperator.AND);