Fix for the bug #278 (to be tested on MySQL)

This commit is contained in:
damien 2012-01-12 14:04:24 +01:00
parent 8adac462fa
commit dd1a31ded1

View File

@ -129,7 +129,7 @@ if ($user->rights->fournisseur->facture->lire)
{
$sql .= " AND f.facnumber like '%".$_POST["sf_ref"] . "%'";
}
$sql.= " GROUP BY f.facnumber";
$sql.= " GROUP BY f.facnumber,s.nom, s.rowid, f.rowid, f.total_ht, f.total_ttc, f.datef, f.date_lim_reglement, f.paye, f.fk_statut";
$sql.= " ORDER BY ";
$listfield=explode(',',$sortfield);