Fix bug Pgsql
This commit is contained in:
parent
733ff62ec8
commit
9e1487fc61
@ -143,8 +143,7 @@ if ($user->rights->fournisseur->facture->lire)
|
||||
{
|
||||
$sql .= " AND f.facnumber LIKE '%".GETPOST('sf_re')."%'";
|
||||
}
|
||||
$sql.= " GROUP BY f.facnumber, f.rowid, f.total_ht, f.total_ttc, f.datef, f.date_lim_reglement, f.paye, f.fk_statut, s.rowid, s.nom";
|
||||
|
||||
$sql.= " GROUP BY s.rowid, s.nom, f.rowid, f.facnumber, f.total_ht, f.total_ttc, f.datef, f.date_lim_reglement,f.paye, f.rowid, f.fk_statut";
|
||||
$sql.= " ORDER BY ";
|
||||
$listfield=explode(',',$sortfield);
|
||||
foreach ($listfield as $key => $value) $sql.=$listfield[$key]." ".$sortorder.",";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user