Fix date due ordering on the dashboard, see #403
This commit is contained in:
parent
3c6dc94786
commit
99a8d153cf
|
|
@ -51,7 +51,7 @@ class App extends Base
|
|||
{
|
||||
$limit = 10;
|
||||
|
||||
if (! in_array($order, array('tasks.id', 'project_name', 'title'))) {
|
||||
if (! in_array($order, array('tasks.id', 'project_name', 'title', 'date_due'))) {
|
||||
$order = 'tasks.id';
|
||||
$direction = 'ASC';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue