Merge pull request #2446 from justin-lau/fix-import-file-path-order
Fixing default import template doesn't extract columns from the latest uploaded file.
This commit is contained in:
commit
348dd85338
|
|
@ -195,6 +195,7 @@ abstract class ImportModel extends Model
|
|||
$file = $this
|
||||
->import_file()
|
||||
->withDeferred($sessionKey)
|
||||
->orderBy('id', 'desc')
|
||||
->first()
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue