mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Sort backups newest to oldest (#2624)
Viewing the backup list produces a seemingly random list. This PR sorts the files newest to oldest.
This commit is contained in:
parent
8233d520c6
commit
46507c929a
|
@ -482,7 +482,7 @@ class SettingsController extends Controller
|
|||
|
||||
}
|
||||
closedir($handle);
|
||||
$files = array_reverse($files);
|
||||
rsort($files)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue