diff --git a/entity/Activity_entity/entityfields/responsible/displayValueProcess.js b/entity/Activity_entity/entityfields/responsible/displayValueProcess.js index 0dde82e7728286629b1c210326725aac2ebb92c5..4a1a4bf92b1c7ff37398bec253e24f100e3259af 100644 --- a/entity/Activity_entity/entityfields/responsible/displayValueProcess.js +++ b/entity/Activity_entity/entityfields/responsible/displayValueProcess.js @@ -2,7 +2,6 @@ import("system.result"); import("system.vars"); import("Contact_lib"); -var id = vars.get("$this.value"); //show the simpel title since this will be later an employee-entry and therefore no organisation is needed -var title = ContactUtils.getTitleByContactId(id); +var title = ContactUtils.getTitleByContactId(vars.get("$field.RESPONSIBLE")); result.string(title); \ No newline at end of file diff --git a/entity/SupportTicket_entity/entityfields/task_editor_contact_id/displayValueProcess.js b/entity/SupportTicket_entity/entityfields/task_editor_contact_id/displayValueProcess.js index 0dde82e7728286629b1c210326725aac2ebb92c5..40f8e064ba6a9d3248e9100abc4f52693effb034 100644 --- a/entity/SupportTicket_entity/entityfields/task_editor_contact_id/displayValueProcess.js +++ b/entity/SupportTicket_entity/entityfields/task_editor_contact_id/displayValueProcess.js @@ -2,7 +2,6 @@ import("system.result"); import("system.vars"); import("Contact_lib"); -var id = vars.get("$this.value"); //show the simpel title since this will be later an employee-entry and therefore no organisation is needed -var title = ContactUtils.getTitleByContactId(id); +var title = ContactUtils.getTitleByContactId(vars.get("$field.TASK_EDITOR_CONTACT_ID")); result.string(title); \ No newline at end of file