Force tasks for a project to be ordered by when they were created instead of randomly.
This commit is contained in:
parent
4f845b8a11
commit
94f1f3506c
1 changed files with 1 additions and 0 deletions
|
|
@ -585,6 +585,7 @@ SELECT DISTINCT PM_task.taskId, PM_task.taskName
|
||||||
WHERE PM_task.projectId = ?
|
WHERE PM_task.projectId = ?
|
||||||
AND ((PM_taskResource.resourceKind = 'user' AND PM_taskResource.resourceId = ?)
|
AND ((PM_taskResource.resourceKind = 'user' AND PM_taskResource.resourceId = ?)
|
||||||
OR (PM_taskResource.resourceKind = 'group' AND $groupIdQuery))
|
OR (PM_taskResource.resourceKind = 'group' AND $groupIdQuery))
|
||||||
|
ORDER by creationDate DESC
|
||||||
SQL
|
SQL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue