Fix date due ordering on the dashboard, see #403
This commit is contained in:
@@ -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';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user