Use `id` instead of `updated_at` for more consistent behavior
This commit is contained in:
parent
325ae4ad08
commit
844d2d1b28
|
|
@ -195,7 +195,7 @@ abstract class ImportModel extends Model
|
|||
$file = $this
|
||||
->import_file()
|
||||
->withDeferred($sessionKey)
|
||||
->orderBy('updated_at', 'desc')
|
||||
->orderBy('id', 'desc')
|
||||
->first()
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue