Skip to content
Snippets Groups Projects
Commit e3b1c513 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Wrong order in list

parent 7b582e57
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment