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
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}