Author: paulfoxworthy
Date: Sun Jun 22 03:22:42 2014
New Revision: 1604522

URL: http://svn.apache.org/r1604522
Log:
Read gender from person parameter, not PartyNameHistory

Modified:
    
ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml

Modified: 
ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml?rev=1604522&r1=1604521&r2=1604522&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml 
(original)
+++ 
ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml 
Sun Jun 22 03:22:42 2014
@@ -154,8 +154,8 @@ under the License.
                     <if-not-empty field="partyNameHistoryCurrent.suffix">
                         <field-to-result 
field="partyNameHistoryCurrent.suffix" result-name="suffix"/>
                     </if-not-empty>
-                    <if-not-empty field="partyNameHistoryCurrent.gender">
-                        <field-to-result 
field="partyNameHistoryCurrent.gender" result-name="gender"/>
+                    <if-not-empty field="person.gender">
+                        <field-to-result field="person.gender" 
result-name="gender"/>
                     </if-not-empty>
 
 


Reply via email to