Skip to content
Snippets Groups Projects
Commit 812bf2fe authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Merge branch '1055453_FixToDoDashletCounts' into '2020.1.0'

[Projekt: Entwicklung - Neon][TicketNr.: 1055453][To-Do Dashlet Kennzahlen fehlerhaft]

See merge request xrm/basic!215
parents b33a67c5 aad8f553
No related branches found
No related tags found
No related merge requests found
......@@ -1686,7 +1686,7 @@
<name>GROUPCODEID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<columnType v="12" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
......@@ -14925,6 +14925,20 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>CONTACT_ID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
</entities>
......
......@@ -7,6 +7,7 @@ import("KeywordRegistry_basic");
var opentask = newSelect("count(TASKID)")
.from("TASK")
.where("TASK.STATUS", $KeywordRegistry.taskStatus$new())
.and ("TASK.KIND", "TASK")
.and("TASK.EDITOR_CONTACT_ID", EmployeeUtils.getCurrentContactId())
.cell();
......
......@@ -7,6 +7,7 @@ import("system.result");
var overdueTaskCount = newSelect("count(TASKID)")
.from("TASK")
.where("TASK.MATURITY_DATE", "$sys.date", SqlBuilder.LESS())
.and ("TASK.KIND", "TASK")
.and("TASK.EDITOR_CONTACT_ID", EmployeeUtils.getCurrentContactId())
.and("TASK.STATUS", TaskUtils.getEndedStatuses(), SqlBuilder.NOT_IN())
.cell()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment