Skip to content
Snippets Groups Projects
Commit 984f77b2 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

fix: displayValue in ADDRESS->ADDR_TYPE

parent 0f78cfcd
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@
<documentation>%aditoprj%/entity/Address_entity/entityfields/addr_type/documentation.adoc</documentation>
<title>Addresstype</title>
<consumer>KeywordAddressTypes</consumer>
<displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>BUILDINGNO</name>
......
import("system.result");
import("system.vars");
import("KeywordRegistry_basic");
import("Keyword_lib");
var key = vars.get("$field.ADDR_TYPE");
if (key)
{
var res = KeywordUtils.getViewValue($KeywordRegistry.addressType(), key);
result.string(res);
}
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