Fix bug in PartyContactWithPurpose view entity. The join is missing a partyId constraint that causes the wrong data to show up if a party has more than one contact mech of the same type and different purposes (two phone numbers, two addresses, etc.)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1755,7 +1755,8 @@ under the License.
|
||||
<view-link entity-alias="PCMP" rel-entity-alias="CM">
|
||||
<key-map field-name="contactMechId"/>
|
||||
</view-link>
|
||||
<view-link entity-alias="CM" rel-entity-alias="PCM">
|
||||
<view-link entity-alias="PCMP" rel-entity-alias="PCM">
|
||||
<key-map field-name="partyId"/>
|
||||
<key-map field-name="contactMechId"/>
|
||||
</view-link>
|
||||
<view-link entity-alias="PCMP" rel-entity-alias="PT">
|
||||
|
||||
Reference in New Issue
Block a user