Skip to content
Snippets Groups Projects
Commit 77c1e3bf authored by S.Listl's avatar S.Listl
Browse files

1063319 only use standard address location in Organisation index

parent 68febda9
No related branches found
No related tags found
No related merge requests found
......@@ -1355,7 +1355,11 @@
<indexFieldMappings>
<indexRecordFieldMapping>
<name>#LOCATION</name>
<systemField>LOCATION</systemField>
<indexFieldType>LOCATION</indexFieldType>
<additionalFieldNameAliases>
<element>location</element>
</additionalFieldNameAliases>
<isGlobalSearchField v="false" />
<isFilterable v="false" />
<isLookupFilter v="false" />
</indexRecordFieldMapping>
......
......@@ -24,7 +24,7 @@ var querySelect = newSelect([
sqlHelper.concat(["'" + translate.text("Phone") + ":'", "(" + CommUtil.getStandardSubSqlPhone() + ")"]),
sqlHelper.concat(["'" + translate.text("Email") + ":'", "(" + CommUtil.getStandardSubSqlMail() + ")"])
], " | "),
sqlHelper.concat([sqlHelper.cast("ADDRESS.LAT", SQLTYPES.VARCHAR, 16), sqlHelper.cast("ADDRESS.LON", SQLTYPES.VARCHAR, 16)], ","),
sqlHelper.concat([sqlHelper.cast("defaultAddress.LAT", SQLTYPES.VARCHAR, 16), sqlHelper.cast("defaultAddress.LON", SQLTYPES.VARCHAR, 16)], ","),
//additional indexed fields
"ORGANISATION.NAME",
"ORGANISATION.ORGANISATIONID",
......
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