mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 07:44:38 -04: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')
|
->orderByRaw('ISNULL(status_order), status_order ASC')
|
||||||
->cursor()
|
->cursor()
|
||||||
->each(function ($ts, $key) {
|
->each(function ($ts, $key) {
|
||||||
$ts->status_order = $key;
|
$ts->status_order = $key+1;
|
||||||
$ts->save();
|
$ts->save();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user