mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for Task Statuses
This commit is contained in:
parent
3066379ff8
commit
a7ad937e84
@ -78,7 +78,7 @@ class TaskStatusRepository extends BaseRepository
|
||||
->orderByRaw('ISNULL(status_order), status_order ASC')
|
||||
->cursor()
|
||||
->each(function ($ts, $key) {
|
||||
$ts->status_order = $key;
|
||||
$ts->status_order = $key+1;
|
||||
$ts->save();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user