Fix: bug #31825 : Tri des taches par date du plus récent au plus ancien
This commit is contained in:
parent
9f81bd2c72
commit
944277bc5e
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user