You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by di...@apache.org on 2016/06/18 20:38:16 UTC

svn commit: r1749092 - in /ofbiz/trunk/applications: commonext/widget/CommonScreens.xml party/widget/partymgr/ProfileScreens.xml

Author: diveshdutta
Date: Sat Jun 18 20:38:16 2016
New Revision: 1749092

URL: http://svn.apache.org/viewvc?rev=1749092&view=rev
Log:
[OFBIZ-7449] When fetching logo image of a party, system is not respecting from date or through date. Fixed this issue by filtering records by date.

Modified:
    ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
    ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Modified: ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/CommonScreens.xml?rev=1749092&r1=1749091&r2=1749092&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/CommonScreens.xml Sat Jun 18 20:38:16 2016
@@ -67,7 +67,7 @@ under the License.
                         <entity-one value-field="orgPartyLogoMap" entity-name="PartyGroup">
                             <field-map field-name="partyId" from-field="defaultOrganizationPartyId"/>
                         </entity-one>
-                        <entity-and list="orgPartyContentMap" entity-name="PartyContent">
+                        <entity-and list="orgPartyContentMap" entity-name="PartyContent" filter-by-date="true">
                             <field-map field-name="partyId" from-field="defaultOrganizationPartyId"/>
                             <field-map field-name="partyContentTypeId" value="LGOIMGURL"/>
                             <order-by field-name="-fromDate"/>

Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=1749092&r1=1749091&r2=1749092&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Sat Jun 18 20:38:16 2016
@@ -35,7 +35,7 @@
                 <entity-one entity-name="PartyAndPerson" value-field="lookupPerson">
                     <field-map field-name="partyId" from-field="parameters.partyId"/><!-- is required -->
                 </entity-one>
-                <entity-and list="partyContentList" entity-name="PartyContent">
+                <entity-and list="partyContentList" entity-name="PartyContent" filter-by-date="true">
                     <field-map field-name="partyId" from-field="parameters.partyId"/>
                     <field-map field-name="partyContentTypeId" value="LGOIMGURL"/>
                     <order-by field-name="-fromDate"/>