FIX: SQL Problem in social contribution list
This commit is contained in:
parent
bbb8c9418e
commit
0c60c9fd0d
@ -152,6 +152,7 @@ if ($search_typeid) {
|
||||
$sql .= " AND cs.fk_type=".$db->escape($search_typeid);
|
||||
}
|
||||
$sql .= " GROUP BY cs.rowid, cs.fk_type, cs.amount, cs.date_ech, cs.libelle, cs.paye, cs.periode, c.libelle";
|
||||
if (!empty($conf->projet->enabled)) $sql .= ", p.rowid";
|
||||
$sql .= $db->order($sortfield, $sortorder);
|
||||
|
||||
$totalnboflines = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user