svn commit: r1487310 - in /ofbiz/branches/release11.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: r1487310 - in /ofbiz/branches/release11.04: ./ applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

jleroux@apache.org
Author: jleroux
Date: Wed May 29 06:13:29 2013
New Revision: 1487310

URL: http://svn.apache.org/r1487310
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/release11.04/   (props changed)
    ofbiz/branches/release11.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

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

Modified: ofbiz/branches/release11.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy?rev=1487310&r1=1487309&r2=1487310&view=diff
==============================================================================
--- ofbiz/branches/release11.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy (original)
+++ ofbiz/branches/release11.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy Wed May 29 06:13:29 2013
@@ -133,7 +133,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