From f67bcfa4b51d94e85a71929c7c1ccb142802c8e5 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 1 Feb 2003 19:51:19 +0000 Subject: [PATCH] ajout de DESC dans le tri de liste --- 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 8ffaf45d500..2fcf33123fb 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, f.facnumber DESC "; + $sql .= " ORDER BY f.fk_statut, f.paye, f.datef DESC, f.facnumber DESC "; $result = $db->query($sql); if ($result) {