svn commit: r1293379 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl

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

svn commit: r1293379 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl

jleroux@apache.org
Author: jleroux
Date: Fri Feb 24 18:45:36 2012
New Revision: 1293379

URL: http://svn.apache.org/viewvc?rev=1293379&view=rev
Log:
A patch from Markus M. May "Problem when saving a product to a shopping list" https://issues.apache.org/jira/browse/OFBIZ-4589

Steps to reproduce:

    Go to http://localhost:8080/ecommerce/control/editShoppingList
    Login as flexadmin
    Click "create new"
    Paste "WG-1111" in Quick Add to Shopping List SKU box
    Click "Add to Shopping List"



Modified:
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl?rev=1293379&r1=1293378&r2=1293379&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl Fri Feb 24 18:45:36 2012
@@ -432,8 +432,7 @@ under the License.
                 <td align="right"><div class="tabletext"><b>${uiLabelMap.OrderTotal}</b></div></td>
                 <td>&nbsp;</td>
               </tr>
-
-              <#list shoppingListItemDatas[lowIndex..highIndex-1] as shoppingListItemData>
+              <#list shoppingListItemDatas[lowIndex-1..highIndex-1] as shoppingListItemData>
                 <#assign shoppingListItem = shoppingListItemData.shoppingListItem/>
                 <#assign product = shoppingListItemData.product/>
                 <#assign productContentWrapper = Static["org.ofbiz.product.product.ProductContentWrapper"].makeProductContentWrapper(product, request)/>