You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/11/16 10:14:26 UTC

svn commit: r880682 - /ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml

Author: ashish
Date: Mon Nov 16 09:14:21 2009
New Revision: 880682

URL: http://svn.apache.org/viewvc?rev=880682&view=rev
Log:
Patch from Anurag Singh Sengar (Thanks!) - Don't show expired record. https://localhost:28443/facility/control/EditFacilityParties?facilityId=WebStoreWarehouse

Modified:
    ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml

Modified: ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml?rev=880682&r1=880681&r2=880682&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml Mon Nov 16 09:14:21 2009
@@ -744,9 +744,11 @@
                 <set field="facilityId" from-field="parameters.facilityId"/>
                 <set field="partyId" from-field="parameters.partyId"/>
                 <set field="roleTypeId" from-field="parameters.roleTypeId"/>
-                <set field="orderByList[]" value="partyId"/>
                 <entity-one entity-name="Facility" value-field="facility"/>
-                <get-related value-field="facility" relation-name="FacilityParty" list="facilityParties" order-by-list="orderByList"/>
+                <entity-and entity-name="FacilityParty" list="facilityParties" filter-by-date="true">
+                    <field-map field-name="facilityId"/>
+                    <order-by field-name="partyId"/>
+                </entity-and>
                 <property-map resource="ProductUiLabels" map-name="uiLabelMap"/>
                 <set field="title" value="${uiLabelMap.PageTitleEditFacilityParties}"/>
             </actions>