From 1e89f236ae28a77ec72039f65f56403051799248 Mon Sep 17 00:00:00 2001
From: Andre Loreth <a.loreth@adito.de>
Date: Thu, 20 Feb 2020 15:50:15 +0100
Subject: [PATCH] #1051579: Organisation: Fix ORGANISATION_REPORT_DATA
 valueProcess

---
 .../entityfields/organisation_report_data/valueProcess.js       | 2 +-
 .../entityfields/orgreport/onActionProcess.js                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js b/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js
index 83e6813560..9dafd51d0b 100644
--- a/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js
+++ b/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js
@@ -2,7 +2,7 @@ import("system.vars");
 import("system.result");
 import("Organisation_lib");
 
-var reportData = OrgUtils.buildOrgReport(vars.get("$field.ORGANISATIONID"))
+var reportData = OrgUtils.buildOrgReport(vars.get("$field.ORGANISATIONID"), vars.get("$field.CONTACTID"))
 
 if (reportData != null) {
     result.string(reportData[1]);
diff --git a/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js b/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js
index 64b6512c91..1e5bcbc94c 100644
--- a/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js
+++ b/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js
@@ -1,4 +1,4 @@
 import("system.vars");
 import("Organisation_lib");
 
-OrgUtils.openOrgReport(vars.get("$field.ORGANISATIONID"), vars.get("$field.CONTACTID"));
\ No newline at end of file
+OrgUtils.openOrgReport(vars.get("$field.ORGANISATIONID"));
\ No newline at end of file
-- 
GitLab