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

[Projekt: Entwicklung - Neon][TicketNr.: 1065756][Im Reiter Weitere Funktionen...

[Projekt: Entwicklung - Neon][TicketNr.: 1065756][Im Reiter Weitere Funktionen werden nur AKTIVE Kontakte angezeigt.  Ist dies das gewünschte Verhalten?]
parent f5c0f765
No related branches found
No related tags found
No related merge requests found
import("system.neon");
import("system.vars");
import("system.result");
import("Keyword_lib");
import("KeywordRegistry_basic");
if (vars.get("$sys.presentationmode") === neon.CONTEXT_PRESENTATIONMODE_FILTER)
{
var statusInactive = $KeywordRegistry.contactStatus$inactive();
var filter = {
type: "group",
operator: "AND",
childs: [{
type: "row",
name: "STATUS",
operator: "NOT_EQUAL",
contenttype: "TEXT",
key: statusInactive,
value: KeywordUtils.getViewValue($KeywordRegistry.contactStatus(), statusInactive)
}]
};
result.string(JSON.stringify(filter));
}
\ No newline at end of file
//no init filter here because there are no filterable fields in this entity and no filter is enabled in the list views
\ 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