Skip to content
Snippets Groups Projects
Commit 8afbb8fd authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

#1072262-ConsumerLookupSearch Keywords und Sprache können auch in der Anzeigesprache

durchsucht werden
parent 37a959c0
No related branches found
No related tags found
No related merge requests found
......@@ -653,7 +653,8 @@
</entityProvider>
<entityField>
<name>TITLE_TRANSLATED</name>
<valueProcess>%aditoprj%/entity/KeywordEntry_entity/entityfields/title_translated/valueProcess.js</valueProcess>
<state>INVISIBLE</state>
<displayValueProcess>%aditoprj%/entity/KeywordEntry_entity/entityfields/title_translated/displayValueProcess.js</displayValueProcess>
</entityField>
<entityParameter>
<name>OnlyActives_param</name>
......@@ -755,6 +756,12 @@
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TITLE_TRANSLATED.value</name>
<recordfield>AB_KEYWORD_ENTRY.TITLE</recordfield>
<isFilterable v="false" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
</recordFieldMappings>
<linkInformation>
<linkInformation>
......
import("system.translate");
import("system.vars");
import("system.result");
result.string(vars.get("$field.TITLE_TRANSLATED"));
\ No newline at end of file
result.string(translate.text(vars.get("$field.TITLE_TRANSLATED")));
\ No newline at end of file
import("system.vars");
import("system.translate");
import("system.result");
import("system.translate");
import("system.vars");
var title = vars.get("$field.TITLE");
var title = vars.get("$this.value");
result.string(translate.text(title));
\ No newline at end of file
......@@ -22,6 +22,7 @@
</entityField>
<entityField>
<name>NAME_LATIN</name>
<displayValueProcess>%aditoprj%/entity/Language_entity/entityfields/name_latin/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>ISACTIVE</name>
......
import("system.translate");
import("system.vars");
import("system.result");
result.string(translate.text(vars.get("$this.value")));
\ No newline at end of file
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