summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorCraig Crosby <creecros@gmail.com>2019-07-02 22:52:22 -0400
committerfguillot <fred@kanboard.net>2019-07-02 19:52:22 -0700
commit48acf99fd10da2bb755d56f9dfd7c0210e76abeb (patch)
tree042eff2af1822c77b40591d938f5eafe26add05a /app/Controller
parentefed94b23d592647f889ef03b144a91e8fbb6098 (diff)
Sort columns by due date
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/TaskReorderController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Controller/TaskReorderController.php b/app/Controller/TaskReorderController.php
index 32bdfc52..ae03ac2c 100644
--- a/app/Controller/TaskReorderController.php
+++ b/app/Controller/TaskReorderController.php
@@ -29,6 +29,9 @@ class TaskReorderController extends BaseController
case 'assignee':
$this->taskReorderModel->reorderByAssignee($project['id'], $swimlaneID, $columnID, $direction);
break;
+ case 'due-date':
+ $this->taskReorderModel->reorderByDueDate($project['id'], $swimlaneID, $columnID, $direction);
+ break;
}
$this->response->redirect($this->helper->url->to('BoardViewController', 'show', ['project_id' => $project['id']]));