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 2012/07/10 09:11:38 UTC
svn commit: r1359500 -
/ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl
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> </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)>