Skip to content
Snippets Groups Projects
Commit a85b341a authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

[Projekt: Entwicklung - xRM][TicketNr.: 1044463][Unterschiedliche generierte...

[Projekt: Entwicklung - xRM][TicketNr.: 1044463][Unterschiedliche generierte Icons der Initialen in der Suche im Vergleich zur Vorschau]
parent dda6900d
No related branches found
No related tags found
No related merge requests found
......@@ -1807,6 +1807,9 @@
<indexFieldType>ADDRESS</indexFieldType>
<isGlobalSearchField v="false" />
</indexRecordFieldMapping>
<indexRecordFieldMapping>
<name>PICTURE.value</name>
</indexRecordFieldMapping>
</indexFieldMappings>
</indexRecordContainer>
</recordContainers>
......
......@@ -42,7 +42,7 @@ var querySelect = newSelect([
sqlHelper.concatWithSeparator([sqlHelper.concatWithSeparator(["standardAddress.ADDRESS", "standardAddress.BUILDINGNO"])
,sqlHelper.concatWithSeparator(["standardAddress.COUNTRY", "standardAddress.ZIP", "standardAddress.CITY"])
], " - ")
])
, "ORGANISATION.PICTURE"])
.from("ORGANISATION")
.join("CONTACT", "CONTACT.ORGANISATION_ID = ORGANISATION.ORGANISATIONID and CONTACT.PERSON_ID is null")
.leftJoin("ADDRESS", "standardAddress.ADDRESSID = CONTACT.ADDRESS_ID", "standardAddress")
......
......@@ -1837,6 +1837,9 @@
</additionalFieldNameAliases>
<isMultiValued v="true" />
</indexRecordFieldMapping>
<indexRecordFieldMapping>
<name>PICTURE.value</name>
</indexRecordFieldMapping>
</indexFieldMappings>
</indexRecordContainer>
</recordContainers>
......
......@@ -38,7 +38,8 @@ var querySelect = newSelect([
"ADDRESS.ZIP",
"ADDRESS.CITY",
"COMMUNICATION.ADDR",
"PHONE.ADDR"
"PHONE.ADDR",
"PERSON.PICTURE"
])
.from("PERSON")
.join("CONTACT", "CONTACT.PERSON_ID = PERSON.PERSONID")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment