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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jaz-3
Author: jaz
Date: Tue Apr  1 21:26:35 2008
New Revision: 643734

URL: http://svn.apache.org/viewvc?rev=643734&view=rev
Log:
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);