1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Fixes for archived/deleted task reording

This commit is contained in:
David Bomba 2021-05-27 09:25:29 +10:00
parent 0a0c7d5f62
commit 9805474c3d

View File

@ -631,6 +631,7 @@ class TaskController extends BaseController
$task_status = TaskStatus::where('id', $this->decodePrimaryKey($task_status_hashed_id))
->where('company_id', auth()->user()->company()->id)
->withTrashed()
->first();
$task_status->status_order = $key;
@ -648,6 +649,7 @@ class TaskController extends BaseController
$task_record = Task::where('id', $this->decodePrimaryKey($task))
->where('company_id', auth()->user()->company()->id)
->withTrashed()
->first();
$task_record->status_order = $key;