Sort columns by due date

This commit is contained in:
Craig Crosby
2019-07-02 22:52:22 -04:00
committed by fguillot
parent efed94b23d
commit 48acf99fd1
35 changed files with 90 additions and 0 deletions

View File

@@ -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']]));