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
eb41340b03
commit
7832fc0c0b
@ -69,10 +69,10 @@ class TaskKanbanController extends BaseController
|
||||
{
|
||||
$status = TaskStatus::scope($publicId)->firstOrFail();
|
||||
|
||||
if ($status->sort_order != request('sort_order')) {
|
||||
$origSortOrder = $status->sort_order;
|
||||
$newSortOrder = request('sort_order');
|
||||
$origSortOrder = $status->sort_order;
|
||||
$newSortOrder = request('sort_order');
|
||||
|
||||
if ($newSortOrder && $newSortOrder != $origSortOrder) {
|
||||
TaskStatus::scope()
|
||||
->where('sort_order', '>', $origSortOrder)
|
||||
->decrement('sort_order');
|
||||
|
Loading…
Reference in New Issue
Block a user