From e8a23701358f09faa81e4ece9188663a907d057c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 12 Jan 2012 15:36:18 +0100 Subject: [PATCH] Fix for the bug #278 --- htdocs/fourn/facture/impayees.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/impayees.php b/htdocs/fourn/facture/impayees.php index 422f1b6bddc..fc076c6f565 100644 --- a/htdocs/fourn/facture/impayees.php +++ b/htdocs/fourn/facture/impayees.php @@ -130,7 +130,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);