From ecb055bb02eb31f90628309ed901a456ef6b5f1e Mon Sep 17 00:00:00 2001
From: "h.boesl" <h.boesl@adito.de>
Date: Tue, 3 Dec 2019 15:56:41 +0100
Subject: [PATCH] Integration - ZIP, CITY and ADDRESS

---
 entity/Person_entity/Person_entity.aod | 27 ++++++--------------------
 1 file changed, 6 insertions(+), 21 deletions(-)

diff --git a/entity/Person_entity/Person_entity.aod b/entity/Person_entity/Person_entity.aod
index a5a63d53de..5f05a2c1a3 100644
--- a/entity/Person_entity/Person_entity.aod
+++ b/entity/Person_entity/Person_entity.aod
@@ -1114,15 +1114,15 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
       <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/commrestrictions_active/displayValueProcess.js</displayValueProcess>
     </entityField>
     <entityField>
-      <name>STANDRAD_ZIP</name>
+      <name>STANDARD_ZIP</name>
       <title>ZIP</title>
     </entityField>
     <entityField>
-      <name>STANDRAD_ADDRESS</name>
+      <name>STANDARD_ADDRESS</name>
       <title>Address</title>
     </entityField>
     <entityField>
-      <name>STANDRAD_CITY</name>
+      <name>STANDARD_CITY</name>
       <title>City</title>
     </entityField>
   </entityFields>
@@ -1449,12 +1449,7 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
           <indexFieldType>PROPER_NAME</indexFieldType>
         </indexRecordFieldMapping>
         <indexRecordFieldMapping>
-          <name>STANDRAD_ADDRESS.value</name>
-          <indexFieldType>ADDRESS</indexFieldType>
-          <additionalFieldNameAliases>
-            <element>address</element>
-          </additionalFieldNameAliases>
-          <isMultiValued v="true" />
+          <name>STANDARD_ADDRESS.displayValue</name>
         </indexRecordFieldMapping>
         <indexRecordFieldMapping>
           <name>STANDARD_COUNTRY.value</name>
@@ -1465,20 +1460,10 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
           <isMultiValued v="true" />
         </indexRecordFieldMapping>
         <indexRecordFieldMapping>
-          <name>STANDRAD_ZIP.value</name>
-          <indexFieldType>ADDRESS</indexFieldType>
-          <additionalFieldNameAliases>
-            <element>zip</element>
-          </additionalFieldNameAliases>
-          <isMultiValued v="true" />
+          <name>STANDARD_ZIP.value</name>
         </indexRecordFieldMapping>
         <indexRecordFieldMapping>
-          <name>STANDRAD_CITY.value</name>
-          <indexFieldType>ADDRESS</indexFieldType>
-          <additionalFieldNameAliases>
-            <element>city</element>
-          </additionalFieldNameAliases>
-          <isMultiValued v="true" />
+          <name>STANDARD_CITY.value</name>
         </indexRecordFieldMapping>
         <indexRecordFieldMapping>
           <name>STANDARD_EMAIL_COMMUNICATION.value</name>
-- 
GitLab