mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 06:34:35 -04:00
Fixes for archived/deleted task reording
This commit is contained in:
parent
0a0c7d5f62
commit
9805474c3d
@ -631,6 +631,7 @@ class TaskController extends BaseController
|
|||||||
|
|
||||||
$task_status = TaskStatus::where('id', $this->decodePrimaryKey($task_status_hashed_id))
|
$task_status = TaskStatus::where('id', $this->decodePrimaryKey($task_status_hashed_id))
|
||||||
->where('company_id', auth()->user()->company()->id)
|
->where('company_id', auth()->user()->company()->id)
|
||||||
|
->withTrashed()
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
$task_status->status_order = $key;
|
$task_status->status_order = $key;
|
||||||
@ -648,6 +649,7 @@ class TaskController extends BaseController
|
|||||||
|
|
||||||
$task_record = Task::where('id', $this->decodePrimaryKey($task))
|
$task_record = Task::where('id', $this->decodePrimaryKey($task))
|
||||||
->where('company_id', auth()->user()->company()->id)
|
->where('company_id', auth()->user()->company()->id)
|
||||||
|
->withTrashed()
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
$task_record->status_order = $key;
|
$task_record->status_order = $key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user