Fix sort of sent notification by date desc

This commit is contained in:
Laurent Destailleur 2016-07-18 11:54:35 +02:00
parent 9a0367db0d
commit 10cd5ba730

View File

@ -51,8 +51,8 @@ if ($page == -1) { $page = 0; }
$offset = $conf->liste_limit * $page;
$pageprev = $page - 1;
$pagenext = $page + 1;
if (! $sortorder) $sortorder="ASC";
if (! $sortfield) $sortfield="c.lastname";
if (! $sortorder) $sortorder="DESC";
if (! $sortfield) $sortfield="a.daten";
$now=dol_now();