svn commit: r667555 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy

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

svn commit: r667555 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy

lektran
Author: lektran
Date: Fri Jun 13 07:42:07 2008
New Revision: 667555

URL: http://svn.apache.org/viewvc?rev=667555&view=rev
Log:
Fix based on Han's feedback

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy

Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy?rev=667555&r1=667554&r2=667555&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy Fri Jun 13 07:42:07 2008
@@ -21,9 +21,9 @@
 context.itemsList = itemsList;
 
 // set the page parameters
-viewIndex = parameters.VIEW_INDEX ?: 0;
+viewIndex = Integer.valueOf(parameters.VIEW_INDEX) ?: 0;
 
-viewSize = parameters.VIEW_SIZE ?: 20;
+viewSize = Integer.valueOf(parameters.VIEW_SIZE) ?: 20;
 
 listSize = itemsList.size();