Skip to content
Snippets Groups Projects
Commit 77f2cb09 authored by Johannes Goderbauer's avatar Johannes Goderbauer Committed by Benjamin Ulrich
Browse files

task: protectionlevel-condition

parent 63540ce0
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,10 @@ import("KeywordRegistry_basic");
var cond = newWhere("TASK.KIND", $KeywordRegistry.taskType$task())
var loadNothing = false;
var ownContactId = EmployeeUtils.getCurrentContactId();
if (vars.getString("$param.FilterOnlyOwnTask_param") == "true")
{
var ownContactId = EmployeeUtils.getCurrentContactId();
if (ownContactId)
cond.andIfSet("TASK.EDITOR_CONTACT_ID", ownContactId);
else
......
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