summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-20 19:49:06 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-20 19:49:06 -0500
commit99a8d153cf8c3143313d8c47ef576144b23f815f (patch)
tree475adeb7d0be10626f33167735795a3ab07423c5 /app
parent3c6dc94786ee404df7e0ad6ac0c95cb2d90d4c8f (diff)
Fix date due ordering on the dashboard, see #403
Diffstat (limited to 'app')
-rw-r--r--app/Controller/App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php
index 2458800a..86b06076 100644
--- a/app/Controller/App.php
+++ b/app/Controller/App.php
@@ -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';
}