From 3a23c4c6f1bfd014bd286fc3a2879e9e226cff5f Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Mon, 4 Mar 2019 09:09:50 +0100 Subject: [PATCH] display value entfernen --- .../Salutation_entity/Salutation_entity.aod | 2 -- .../contentProcess.js | 26 ++++++++--------- .../title_jdito/contentProcess.js | 28 +++++++++---------- 3 files changed, 27 insertions(+), 29 deletions(-) diff --git a/entity/Salutation_entity/Salutation_entity.aod b/entity/Salutation_entity/Salutation_entity.aod index 0e959b81d27..9a1e05fce95 100644 --- a/entity/Salutation_entity/Salutation_entity.aod +++ b/entity/Salutation_entity/Salutation_entity.aod @@ -195,7 +195,6 @@ <contentProcess>%aditoprj%/entity/Salutation_entity/recordcontainers/distinctsalutation_jdito/contentProcess.js</contentProcess> <recordFields> <element>UID.value</element> - <element>UID.displayValue</element> </recordFields> </jDitoRecordContainer> <jDitoRecordContainer> @@ -206,7 +205,6 @@ <isPageable v="false" /> <recordFields> <element>UID.value</element> - <element>UID.displayValue</element> </recordFields> </jDitoRecordContainer> </recordContainers> diff --git a/entity/Salutation_entity/recordcontainers/distinctsalutation_jdito/contentProcess.js b/entity/Salutation_entity/recordcontainers/distinctsalutation_jdito/contentProcess.js index 3557692391f..bc7f9eb2ad3 100644 --- a/entity/Salutation_entity/recordcontainers/distinctsalutation_jdito/contentProcess.js +++ b/entity/Salutation_entity/recordcontainers/distinctsalutation_jdito/contentProcess.js @@ -1,14 +1,14 @@ -import("system.vars"); -import("system.result"); -import("system.db"); -import("Sql_lib"); - - -var cond = SqlCondition.begin() - .and("SALUTATION is not NULL") - .andPrepareVars("SALUTATION.LANGUAGE", "$param.Language_param") - .buildSql("select distinct SALUTATION, SALUTATION from SALUTATION", "1=2"); - -var salutations = db.table(cond); - +import("system.vars"); +import("system.result"); +import("system.db"); +import("Sql_lib"); + + +var cond = SqlCondition.begin() + .and("SALUTATION is not NULL") + .andPrepareVars("SALUTATION.LANGUAGE", "$param.Language_param") + .buildSql("select distinct SALUTATION from SALUTATION", "1=2"); + +var salutations = db.table(cond); + result.object(salutations); \ No newline at end of file diff --git a/entity/Salutation_entity/recordcontainers/title_jdito/contentProcess.js b/entity/Salutation_entity/recordcontainers/title_jdito/contentProcess.js index c4fc01944cb..76ec7bc49b0 100644 --- a/entity/Salutation_entity/recordcontainers/title_jdito/contentProcess.js +++ b/entity/Salutation_entity/recordcontainers/title_jdito/contentProcess.js @@ -1,15 +1,15 @@ -import("system.vars"); -import("system.result"); -import("system.db"); -import("Sql_lib"); - - - -var cond = SqlCondition.begin() - .and("TITLE is not NULL") - .andPrepareVars("SALUTATION.SALUTATION", "$param.Salutation_param") - .buildSql("select TITLE, TITLE from SALUTATION", "1=2"); - -var titles = db.table(cond); - +import("system.vars"); +import("system.result"); +import("system.db"); +import("Sql_lib"); + + + +var cond = SqlCondition.begin() + .and("TITLE is not NULL") + .andPrepareVars("SALUTATION.SALUTATION", "$param.Salutation_param") + .buildSql("select TITLE from SALUTATION", "1=2"); + +var titles = db.table(cond); + result.object(titles); \ No newline at end of file -- GitLab