Fix: Wrong order in list
This commit is contained in:
parent
7b582e57ed
commit
e3b1c513b9
@ -465,7 +465,7 @@ if ($account || $_GET["ref"])
|
|||||||
$sql.= " AND b.fk_account = ba.rowid";
|
$sql.= " AND b.fk_account = ba.rowid";
|
||||||
$sql.= " AND ba.entity = ".$conf->entity;
|
$sql.= " AND ba.entity = ".$conf->entity;
|
||||||
$sql.= $sql_rech;
|
$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);
|
$sql.= $db->plimit($limitsql, 0);
|
||||||
|
|
||||||
dol_syslog("account.php get transactions - sql=".$sql);
|
dol_syslog("account.php get transactions - sql=".$sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user