From a3b761b44d0bbfaa69e8b711cf469fb1f9aa78f3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 24 Oct 2006 21:36:00 +0000 Subject: [PATCH] =?UTF-8?q?Tri=20cat=E9gories=20par=20ordre=20alphab=E9tiq?= =?UTF-8?q?ue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/bank/ligne.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index 396d9419c54..959803bea31 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -156,7 +156,9 @@ if ($_POST["action"] == 'num_releve') llxHeader(); // On initialise la liste des categories -$sql = "SELECT rowid, label FROM ".MAIN_DB_PREFIX."bank_categ;"; +$sql = "SELECT rowid, label"; +$sql.= " FROM ".MAIN_DB_PREFIX."bank_categ"; +$sql.= " ORDER BY label"; $result = $db->query($sql); if ($result) { @@ -455,8 +457,7 @@ print "
"; print ""; print "".$langs->trans("Categories").""; -print " "; +print " "; print ''; print ""; print "
";