mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Working on task kanban
This commit is contained in:
parent
f1b9bd3d8a
commit
a392e54c39
@ -129,7 +129,7 @@ class TaskKanbanController extends BaseController
|
||||
$origStatusId = $task->task_status_id;
|
||||
$origSortOrder = $task->task_status_sort_order;
|
||||
|
||||
$newStatusId = request('task_status_id');
|
||||
$newStatusId = TaskStatus::getPrivateId(request('task_status_id'));
|
||||
$newSortOrder = request('task_status_sort_order');
|
||||
|
||||
Task::scope()
|
||||
@ -142,7 +142,7 @@ class TaskKanbanController extends BaseController
|
||||
->where('task_status_sort_order', '>=', $newSortOrder)
|
||||
->increment('task_status_sort_order');
|
||||
|
||||
$task->task_status_id = TaskStatus::getPrivateId(request('task_status_id'));
|
||||
$task->task_status_id = $newStatusId;
|
||||
$task->task_status_sort_order = $newSortOrder;
|
||||
$task->save();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user