From e3b1c513b92e0cf33a84ac6a8ecaf18660b713c3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 1 Aug 2010 17:53:41 +0000 Subject: [PATCH] Fix: Wrong order in list --- htdocs/compta/bank/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 32a0a5dbae8..57337abcecf 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -465,7 +465,7 @@ if ($account || $_GET["ref"]) $sql.= " AND b.fk_account = ba.rowid"; $sql.= " AND ba.entity = ".$conf->entity; $sql.= $sql_rech; - $sql.= $db->order("b.datev", "ASC"); + $sql.= $db->order("b.datev, b.datec", "ASC"); // We add date of creation to have correct order when everything is done the same day $sql.= $db->plimit($limitsql, 0); dol_syslog("account.php get transactions - sql=".$sql);