You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/05/28 23:31:12 UTC
svn commit: r1487130 -
/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
Author: jleroux
Date: Tue May 28 21:31:12 2013
New Revision: 1487130
URL: http://svn.apache.org/r1487130
Log:
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/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy?rev=1487130&r1=1487129&r2=1487130&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy Tue May 28 21:31:12 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