diff --git a/entity/Salutation_entity/Salutation_entity.aod b/entity/Salutation_entity/Salutation_entity.aod index 0e959b81d277a6282920d440249ec03b3f58d25b..9a1e05fce95881d0d4aa76e7e37f3cc01d781753 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 3557692391fc1baa92d344c856a3a3ea141ae59e..bc7f9eb2ad3a5f8b85ab5b8731cb21ad0ee4cee4 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 c4fc01944cbe7c7ac01307878b2c42a4d63db61a..76ec7bc49b0fc680576a6f4d69a58b99fc7f0319 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