From ce0636029ba6f613e23c0a2a4ee3e10012a503c3 Mon Sep 17 00:00:00 2001 From: "j.goderbauer" <j.goderbauer@adito.de> Date: Thu, 4 Apr 2019 09:28:46 +0200 Subject: [PATCH] Organisation: removed unused param --- entity/Organisation_entity/Organisation_entity.aod | 7 ------- .../recordcontainers/db/conditionProcess.js | 3 +-- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/entity/Organisation_entity/Organisation_entity.aod b/entity/Organisation_entity/Organisation_entity.aod index 0f950f13c9..db55fdd66a 100644 --- a/entity/Organisation_entity/Organisation_entity.aod +++ b/entity/Organisation_entity/Organisation_entity.aod @@ -278,13 +278,6 @@ </entityParameter> </children> </entityConsumer> - <entityParameter> - <name>ContactId_param</name> - <expose v="true" /> - <triggerRecalculation v="true" /> - <mandatory v="false" /> - <description>PARAMETER</description> - </entityParameter> <entityActionField> <name>openEditDefaultsView</name> <fieldType>ACTION</fieldType> diff --git a/entity/Organisation_entity/recordcontainers/db/conditionProcess.js b/entity/Organisation_entity/recordcontainers/db/conditionProcess.js index a42eafd440..8743459e60 100644 --- a/entity/Organisation_entity/recordcontainers/db/conditionProcess.js +++ b/entity/Organisation_entity/recordcontainers/db/conditionProcess.js @@ -4,8 +4,7 @@ import("system.result"); import("Sql_lib"); import("Context_lib"); -var cond = SqlCondition.begin() - .andPrepareVars("ORGANISATION.ORGANISATIONID", "$param.ContactId_param"); +var cond = SqlCondition.begin(); // filter privat company if it is not needed if (vars.getString("$param.WithPrivate_param") != "true") -- GitLab