svn commit: r1487132 - in /ofbiz/branches/release12.04: ./ applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

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

svn commit: r1487132 - in /ofbiz/branches/release12.04: ./ applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

jleroux@apache.org
Author: jleroux
Date: Tue May 28 21:33:24 2013
New Revision: 1487132

URL: http://svn.apache.org/r1487132
Log:
"Applied fix from trunk for revision: 1487130"
------------------------------------------------------------------------
r1487130 | jleroux | 2013-05-28 23:31:12 +0200 (mar., 28 mai 2013) | 3 lines

Related to https://issues.apache.org/jira/browse/OFBIZ-4332  "Pagination in find order screen doesn't work (With patch)" but not the real issue which is only for R11.04 and R10.04

This screen did not take into account the widget.form.defaultViewSize properties, here is the needed change
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release12.04/   (props changed)
    ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1487130

Modified: ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy?rev=1487132&r1=1487131&r2=1487132&view=diff
==============================================================================
--- ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy (original)
+++ ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy Tue May 28 21:33:24 2013
@@ -137,7 +137,8 @@ context.thruDateStr = toStr;
 viewIndex = request.getParameter("viewIndex") ? Integer.valueOf(request.getParameter("viewIndex")) : 1;
 context.viewIndex = viewIndex;
 
-viewSize = request.getParameter("viewSize") ? Integer.valueOf(request.getParameter("viewSize")) : 20;
+viewSize = request.getParameter("viewSize") ? Integer.valueOf(request.getParameter("viewSize")) :
+                                                                UtilProperties.getPropertyValue("widget", "widget.form.defaultViewSize");
 context.viewSize = viewSize;
 
 // get the lookup flag