From fa8a7151890dd69be23abfc57a96891b68c0e5f5 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Tue, 25 Jun 2019 15:58:29 +0200
Subject: [PATCH] fix Object Relation tree

---
 .../objecttrees/children/objectid_param/valueProcess.js        | 3 ++-
 .../objectrelations/children/objectrowid_param/valueProcess.js | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/entity/Organisation_entity/entityfields/objecttrees/children/objectid_param/valueProcess.js b/entity/Organisation_entity/entityfields/objecttrees/children/objectid_param/valueProcess.js
index fb6ae92cf5..7b6137b4d1 100644
--- a/entity/Organisation_entity/entityfields/objecttrees/children/objectid_param/valueProcess.js
+++ b/entity/Organisation_entity/entityfields/objecttrees/children/objectid_param/valueProcess.js
@@ -1,3 +1,4 @@
 import("system.vars");
 import("system.result");
-result.string(vars.get("$field.ORGANISATION_ID"));
\ No newline at end of file
+
+result.string(vars.get("$field.CONTACTID"));
\ No newline at end of file
diff --git a/entity/Person_entity/entityfields/objectrelations/children/objectrowid_param/valueProcess.js b/entity/Person_entity/entityfields/objectrelations/children/objectrowid_param/valueProcess.js
index ee0cddc370..7b6137b4d1 100644
--- a/entity/Person_entity/entityfields/objectrelations/children/objectrowid_param/valueProcess.js
+++ b/entity/Person_entity/entityfields/objectrelations/children/objectrowid_param/valueProcess.js
@@ -1,4 +1,4 @@
 import("system.vars");
 import("system.result");
 
-result.string(vars.get("$field.PERSONID"));
\ No newline at end of file
+result.string(vars.get("$field.CONTACTID"));
\ No newline at end of file
-- 
GitLab