Author: jleroux Date: Tue Jul 10 07:12:59 2012 New Revision: 1359501 URL: http://svn.apache.org/viewvc?rev=1359501&view=rev Log: "Applied fix from trunk for revision: 1359500" ------------------------------------------------------------------------ r1359500 | jleroux | 2012-07-10 09:11:38 +0200 (mar., 10 juil. 2012) | 3 lines
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/branches/release12.04/ (props changed) ofbiz/branches/release12.04/applications/party/webapp/partymgr/party/editShoppingList.ftl Propchange: ofbiz/branches/release12.04/ ------------------------------------------------------------------------------ Merged /ofbiz/trunk:r1359500 Modified: ofbiz/branches/release12.04/applications/party/webapp/partymgr/party/editShoppingList.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/party/webapp/partymgr/party/editShoppingList.ftl?rev=1359501&r1=1359500&r2=1359501&view=diff ============================================================================== --- ofbiz/branches/release12.04/applications/party/webapp/partymgr/party/editShoppingList.ftl (original) +++ ofbiz/branches/release12.04/applications/party/webapp/partymgr/party/editShoppingList.ftl Tue Jul 10 07:12:59 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)>

