Fix: bug #31825 : Tri des taches par date du plus récent au plus ancien

This commit is contained in:
Laurent Destailleur 2011-01-19 11:17:18 +00:00
parent 9f81bd2c72
commit 944277bc5e

View File

@ -22,7 +22,7 @@
/**
* \file htdocs/comm/action/listactions.php
* \ingroup agenda
* \brief Page liste des actions commerciales
* \brief Page to list actions
* \version $Id$
*/
@ -56,7 +56,7 @@ $offset = $limit * $page ;
if (! $sortorder)
{
$sortorder="ASC";
if ($status == 'todo') $sortorder="DESC";
if ($status == 'todo') $sortorder="ASC";
if ($status == 'done') $sortorder="DESC";
}
if (! $sortfield)