From 981435e5ca4e19cc2ec0637eefde03ddc7ecdcb2 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 25 Jan 2005 16:05:09 +0000 Subject: [PATCH] Modification de l'ordre de la requete SQL --- scripts/factures-impayees-commerciaux.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/factures-impayees-commerciaux.php b/scripts/factures-impayees-commerciaux.php index 261f4285476..86eade82aba 100644 --- a/scripts/factures-impayees-commerciaux.php +++ b/scripts/factures-impayees-commerciaux.php @@ -36,7 +36,7 @@ $sql .= " WHERE f.paye = 0"; $sql .= " AND f.fk_soc = s.idp"; $sql .= " AND sc.fk_soc = s.idp"; $sql .= " AND sc.fk_user = u.rowid"; -$sql .= " ORDER BY u.email"; +$sql .= " ORDER BY u.email ASC, s.idp ASC"; if ( $db->query($sql) ) {