Skip to content
Snippets Groups Projects
Commit 596f977f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2423 from defrance69/patch-49

Update index.php
parents 8e29dcdb 06b7f610
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ if (empty($conf->global->PROJECT_HIDE_TASKS)) ...@@ -175,7 +175,7 @@ if (empty($conf->global->PROJECT_HIDE_TASKS))
if ($socid) $sql.= " AND (p.fk_soc IS NULL OR p.fk_soc = 0 OR p.fk_soc = ".$socid.")"; if ($socid) $sql.= " AND (p.fk_soc IS NULL OR p.fk_soc = 0 OR p.fk_soc = ".$socid.")";
$sql.= " AND p.fk_statut=1"; $sql.= " AND p.fk_statut=1";
$sql.= " GROUP BY p.ref, p.title, p.rowid, t.label, t.rowid, t.planned_workload, t.duration_effective, t.progress, t.dateo, t.datee"; $sql.= " GROUP BY p.ref, p.title, p.rowid, t.label, t.rowid, t.planned_workload, t.duration_effective, t.progress, t.dateo, t.datee";
$sql.= " ORDER BY t.rowid, t.dateo, t.datee"; $sql.= " ORDER BY t.dateo desc, t.rowid desc, t.datee";
$sql.= $db->plimit($max+1); // We want more to know if we have more than limit $sql.= $db->plimit($max+1); // We want more to know if we have more than limit
$var=true; $var=true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment