Skip to content
Snippets Groups Projects
Commit b96bff47 authored by Christophe Battarel's avatar Christophe Battarel
Browse files

[ bug #806 ] Tasks are ordered alphabetically instead of chronological order

parent 99260066
No related branches found
No related tags found
No related merge requests found
......@@ -519,7 +519,7 @@ class Task extends CommonObject
if ($projectid) $sql.= " AND p.rowid in (".$projectid.")";
}
if ($filteronprojref) $sql.= " AND p.ref LIKE '%".$filteronprojref."%'";
$sql.= " ORDER BY p.ref, t.rang, t.label";
$sql.= " ORDER BY p.ref, t.rang, t.datec";
//print $sql;
dol_syslog(get_class($this)."::getTasksArray sql=".$sql, LOG_DEBUG);
......
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