1
0
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:
David Bomba 2023-05-23 20:29:55 +10:00
parent 3066379ff8
commit a7ad937e84

View File

@ -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();
});