mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for kanban sorting
This commit is contained in:
parent
205094cd4c
commit
8580676a11
@ -118,7 +118,7 @@ class TaskKanbanController extends BaseController
|
||||
$origSortOrder = $status->sort_order;
|
||||
$newSortOrder = request('sort_order');
|
||||
|
||||
if ($newSortOrder && $newSortOrder != $origSortOrder) {
|
||||
if ($newSortOrder != $origSortOrder) {
|
||||
TaskStatus::scope()
|
||||
->where('sort_order', '>', $origSortOrder)
|
||||
->decrement('sort_order');
|
||||
|
Loading…
Reference in New Issue
Block a user