Fix date due ordering on the dashboard, see #403

This commit is contained in:
Frédéric Guillot
2014-11-20 19:49:06 -05:00
parent 3c6dc94786
commit 99a8d153cf

View File

@@ -51,7 +51,7 @@ class App extends Base
{ {
$limit = 10; $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'; $order = 'tasks.id';
$direction = 'ASC'; $direction = 'ASC';
} }