From 48acf99fd10da2bb755d56f9dfd7c0210e76abeb Mon Sep 17 00:00:00 2001 From: Craig Crosby Date: Tue, 2 Jul 2019 22:52:22 -0400 Subject: Sort columns by due date --- app/Controller/TaskReorderController.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Controller/TaskReorderController.php') 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']])); -- cgit v1.2.3