Author: lektran
Date: Fri Jun 13 07:52:52 2008
New Revision: 667559
URL:
http://svn.apache.org/viewvc?rev=667559&view=revLog:
Got that a little bit wrong
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=667559&r1=667558&r2=667559&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:52:52 2008
@@ -21,9 +21,9 @@
context.itemsList = itemsList;
// set the page parameters
-viewIndex = Integer.valueOf(parameters.VIEW_INDEX) ?: 0;
+viewIndex = Integer.valueOf(parameters.VIEW_INDEX ?: 0);
-viewSize = Integer.valueOf(parameters.VIEW_SIZE) ?: 20;
+viewSize = Integer.valueOf(parameters.VIEW_SIZE ?: 20);
listSize = itemsList.size();