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

Activity: performance optimisation

parent 736f9cb9
No related branches found
No related tags found
No related merge requests found
import("system.result");
import("system.vars");
import("Keyword_lib");
import("KeywordRegistry_basic");
result.string(KeywordUtils.getViewValue($KeywordRegistry.activityCategory(), vars.get("$field.CATEGORY")));
import("system.result");
import("system.vars");
import("Keyword_lib");
import("KeywordRegistry_basic");
result.string(KeywordUtils.getViewValue($KeywordRegistry.activityCategory(), vars.get("$field.CATEGORY")));
\ No newline at end of file
import("system.vars");
import("system.result");
import("Keyword_lib");
import("KeywordRegistry_basic");
var histMedium = vars.get("$field.CATEGORY");
result.string(vars.get("$field.SUBJECT") + (histMedium ? " (" + KeywordUtils.getViewValue($KeywordRegistry.activityCategory(), histMedium) + ")" : ""));
var category = vars.get("$field.CATEGORY.displayValue");
result.string(vars.get("$field.SUBJECT") + (category ? " (" + category + ")" : ""));
\ 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