Author: jleroux
Date: Tue Jul 10 07:11:38 2012
New Revision: 1359500

URL: http://svn.apache.org/viewvc?rev=1359500&view=rev
Log:
A patch from Ankit for "Error on Shopping List Page" Jain 
https://issues.apache.org/jira/browse/OFBIZ-4957

In the groovy EditShoppingList.groovy the value of lowIndex is 0 that's why in 
the ftl we should use lowIndex instead of lowIndex-1.

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl

Modified: 
ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl?rev=1359500&r1=1359499&r2=1359500&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl 
(original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl 
Tue Jul 10 07:11:38 2012
@@ -196,7 +196,7 @@ under the License.
           <td>&nbsp;</td>
         </tr>
         <#assign alt_row = false>
-        <#list shoppingListItemDatas[lowIndex-1..highIndex-1] as 
shoppingListItemData>
+        <#list shoppingListItemDatas[lowIndex..highIndex-1] as 
shoppingListItemData>
           <#assign shoppingListItem = shoppingListItemData.shoppingListItem>
           <#assign product = shoppingListItemData.product>
           <#assign productContentWrapper = 
Static["org.ofbiz.product.product.ProductContentWrapper"].makeProductContentWrapper(product,
 request)>


Reply via email to