From ff4c9c495ae781957bbd599aee09e66cc43641d4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 5 Apr 2013 13:35:09 +0200 Subject: [PATCH] Fix: Uniformize field names --- htdocs/core/boxes/box_factures_fourn_imp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/boxes/box_factures_fourn_imp.php b/htdocs/core/boxes/box_factures_fourn_imp.php index 7a5684eebf7..0961312be7d 100644 --- a/htdocs/core/boxes/box_factures_fourn_imp.php +++ b/htdocs/core/boxes/box_factures_fourn_imp.php @@ -73,7 +73,7 @@ class box_factures_fourn_imp extends ModeleBoxes $sql.= " AND fk_statut = 1"; if (!$user->rights->societe->client->voir && !$user->societe_id) $sql.= " AND s.rowid = sc.fk_soc AND sc.fk_user = " .$user->id; if($user->societe_id) $sql.= " AND s.rowid = ".$user->societe_id; - $sql.= " ORDER BY datelimite DESC, f.facnumber DESC "; + $sql.= " ORDER BY datelimite DESC, f.ref_supplier DESC "; $sql.= $db->plimit($max, 0); $result = $db->query($sql);