mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-17 15:52:15 +00:00
changed default sorting in navigation tree for move popup action
This commit is contained in:
@@ -171,6 +171,7 @@ class BrowseController extends Controller
|
||||
$folders = FileManagerFolder::with('folders:id,parent_id,unique_id,name')
|
||||
->where('parent_id', 0)
|
||||
->where('user_id', Auth::id())
|
||||
->orderByDesc('created_at')
|
||||
->get(['id', 'parent_id', 'unique_id', 'name']);
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user