Fix: Order by title

This commit is contained in:
Laurent Destailleur
2011-10-28 23:27:05 +02:00
parent 4439205375
commit 1d280000ee

View File

@@ -649,7 +649,8 @@ function print_projecttasks_array($db, $socid, $projectsListId, $mytasks=0)
$sql.= " AND ec.fk_socpeople = ".$user->id;
}
$sql.= " GROUP BY p.rowid, p.ref, p.title, p.fk_user_creat, p.public, p.fk_statut";
$sql.= " ORDER BY p.title, p.ref";
$var=true;
$resql = $db->query($sql);
if ( $resql )