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
|
* \file htdocs/comm/action/listactions.php
|
||||||
* \ingroup agenda
|
* \ingroup agenda
|
||||||
* \brief Page liste des actions commerciales
|
* \brief Page to list actions
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ $offset = $limit * $page ;
|
|||||||
if (! $sortorder)
|
if (! $sortorder)
|
||||||
{
|
{
|
||||||
$sortorder="ASC";
|
$sortorder="ASC";
|
||||||
if ($status == 'todo') $sortorder="DESC";
|
if ($status == 'todo') $sortorder="ASC";
|
||||||
if ($status == 'done') $sortorder="DESC";
|
if ($status == 'done') $sortorder="DESC";
|
||||||
}
|
}
|
||||||
if (! $sortfield)
|
if (! $sortfield)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user