Force tasks for a project to be ordered by when they were created instead of randomly.

This commit is contained in:
colin 2016-05-02 10:47:31 -07:00
parent 4f845b8a11
commit 94f1f3506c

View file

@ -585,6 +585,7 @@ SELECT DISTINCT PM_task.taskId, PM_task.taskName
WHERE PM_task.projectId = ?
AND ((PM_taskResource.resourceKind = 'user' AND PM_taskResource.resourceId = ?)
OR (PM_taskResource.resourceKind = 'group' AND $groupIdQuery))
ORDER by creationDate DESC
SQL
}