From f83dcf26cc5b0eab4fa7b9cb33662810a038623f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 1 Feb 2003 19:50:20 +0000 Subject: [PATCH] Ajout d'un critere de tri --- htdocs/compta/facture.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php3 b/htdocs/compta/facture.php3 index 798ae1c6f3e..8ffaf45d500 100644 --- a/htdocs/compta/facture.php3 +++ b/htdocs/compta/facture.php3 @@ -601,7 +601,7 @@ else $sql .= " AND date_format(f.datef, '%Y') = $year"; } - $sql .= " ORDER BY f.fk_statut, f.paye, f.datef DESC "; + $sql .= " ORDER BY f.fk_statut, f.paye, f.datef, f.facnumber DESC "; $result = $db->query($sql); if ($result) {