mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Merge pull request #5836 from turbo124/v5-develop
Fixes for archived/deleted task reordering
This commit is contained in:
commit
ad11e11233
@ -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;
|
||||
|
@ -270,7 +270,7 @@ class MultiDB
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function findAndSetDbByDomain($query_array) :bool
|
||||
public static function findAndSetDbByDomain($query_array)
|
||||
{
|
||||
|
||||
if (! config('ninja.db.multi_db_enabled'))
|
||||
|
Loading…
Reference in New Issue
Block a user