Author: jleroux
Date: Tue May 8 05:56:32 2012
New Revision: 1335343
URL:
http://svn.apache.org/viewvc?rev=1335343&view=revLog:
A patch from Tom Burns for "Catalog Edit Product Store Promos List Not Displayed"
https://issues.apache.org/jira/browse/OFBIZ-4859Promotion list not displayed in trunk.
To duplicate:
Open Catalog Manager
Select Stores > Store Id 9000 > Promos
Expected: List of Promotions in the "Edit Product Store Promos" section.
Actual: No records in list.
Note: There is no component "Catalog" in the issue field Component/s drop above.
Modified:
ofbiz/trunk/applications/product/widget/catalog/StoreScreens.xml
Modified: ofbiz/trunk/applications/product/widget/catalog/StoreScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/StoreScreens.xml?rev=1335343&r1=1335342&r2=1335343&view=diff==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/StoreScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/StoreScreens.xml Tue May 8 05:56:32 2012
@@ -101,6 +101,10 @@ under the License.
<set field="labelTitleProperty" value="ProductPromotions"/>
<set field="userEntered" from-field="parameters.userEntered"/>
<set field="activeOnly" from-field="parameters.activeOnly" default-value="true"/>
+
+ <set field="productStoreId" from-field="parameters.productStoreId"/>
+ <entity-one entity-name="ProductStore" value-field="productStore" auto-field-map="true"/>
+
<entity-condition entity-name="ProductStorePromoAndAppl" list="productStorePromoAndAppls" filter-by-date="${activeOnly}">
<condition-list combine="and">
<condition-expr field-name="userEntered" from-field="userEntered" ignore-if-empty="true"/>