Author: jleroux
Date: Wed May 29 06:28:30 2013
New Revision: 1487315
URL:
http://svn.apache.org/r1487315Log:
"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/release10.04/ (props changed)
ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
Propchange: ofbiz/branches/release10.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1487130
Modified: ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy?rev=1487315&r1=1487314&r2=1487315&view=diff==============================================================================
--- ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy (original)
+++ ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy Wed May 29 06:28:30 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