You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pr...@apache.org on 2015/01/17 15:51:35 UTC

svn commit: r1652617 - /ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

Author: pranayp
Date: Sat Jan 17 14:51:35 2015
New Revision: 1652617

URL: http://svn.apache.org/r1652617
Log:
Applied patch from jira issue - OFBIZ-5951. Product Costs page actions cause incorrect listings.

Thanks Christian Carlow for reporting the issue and thanks Amardeep for providing patch for the fix.

Modified:
    ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

Modified: ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml?rev=1652617&r1=1652616&r2=1652617&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml Sat Jan 17 14:51:35 2015
@@ -1235,8 +1235,9 @@ under the License.
     <form name="ListCostComponents" type="list" title="" list-name="listIt"
         odd-row-style="alternate-row" default-table-style="basic-table" paginate-target="EditProductCosts">
         <actions>
+        	<set field="InParam.productId" from-field="requestParameters.productId"/>
             <service service-name="performFind" result-map="result" result-map-list="listIt">
-                <field-map field-name="inputFields" from-field="requestParameters"/>
+                <field-map field-name="inputFields" from-field="InParam"/>
                 <field-map field-name="entityName" value="CostComponent"/>
                 <field-map field-name="viewIndex" from-field="viewIndex"/>
                 <field-map field-name="viewSize" from-field="viewSize"/>