diff --git a/entity/ModuleTree_entity/recordcontainers/jdito/contentProcess.js b/entity/ModuleTree_entity/recordcontainers/jdito/contentProcess.js index 95d7c11f3f12d43c62eebaf8d24a17f6b0a9e4cf..c9c7be12d0e5d936086ceb00eea9afd6cf2b8645 100644 --- a/entity/ModuleTree_entity/recordcontainers/jdito/contentProcess.js +++ b/entity/ModuleTree_entity/recordcontainers/jdito/contentProcess.js @@ -49,7 +49,7 @@ function queryChildrenElements (pContextName, pID) { var ticketResult = db.table(SqlCondition.begin() .andPrepare("TASK.PARENT_ID", pID) .andPrepare("TASK.PARENT_CONTEXT", pContextName) - .buildSql("select TASKID, PARENT_ID, PARENT_CONTEXT, SUBJECT, DESCRIPTION from TICKET left join TASK on TASK_ID = TASKID")); + .buildSql("select TICKETID, PARENT_ID, PARENT_CONTEXT, SUBJECT, DESCRIPTION from TICKET left join TASK on TASK_ID = TASKID")); var activityResult = db.table(SqlCondition.begin() .andPrepare("ACTIVITY.PARENT_ID", pID) diff --git a/entity/SupportTicket_entity/recordcontainers/db/conditionProcess.js b/entity/SupportTicket_entity/recordcontainers/db/conditionProcess.js index ddefe83f374ffe08386e4a3b25102763dd1928e1..d1dfb4c326f8f2d44068c4322ef5124346decd9c 100644 --- a/entity/SupportTicket_entity/recordcontainers/db/conditionProcess.js +++ b/entity/SupportTicket_entity/recordcontainers/db/conditionProcess.js @@ -6,12 +6,6 @@ import("system.result"); import("Sql_lib"); import("KeywordRegistry_basic"); -if (vars.exists("$sys.idvalues")) -logging.log("a " + vars.getString("$sys.idvalues")) - -if (vars.exists("$local.idvalues")) -logging.log("b " + vars.getString("$local.idvalues")) - var cond = new SqlCondition(); cond.andPrepare("TASK.TYPE", $KeywordRegistry.taskType$ticket()) .andPrepareVars("TICKET.TICKETTYPE", "$param.TicketType_param") @@ -38,13 +32,11 @@ if (vars.exists("$param.RowId_param") && vars.get("$param.RowId_param") && vars. if (loadNothing) { - logging.log("Nothing") result.string("1=2"); } else { //TODO: use a preparedCondition when available #1030812 #1034026 var resCond = db.translateCondition(cond.build("1=1")); - logging.log(resCond) result.string(resCond); } \ No newline at end of file