Merge pull request #87 from daamien/develop

Fix for the bug #278 (to be tested on MySQL)
This commit is contained in:
Regis Houssin 2012-01-12 06:30:15 -08:00
commit b2ae52d7ee

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);