mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-27 02:30:39 +00:00
spotlight tweaks
This commit is contained in:
@@ -83,11 +83,13 @@ class SpotlightSearchController
|
||||
// Search files and folders
|
||||
$files = File::search($query)
|
||||
->constrain($fileConstrain)
|
||||
->get();
|
||||
->get()
|
||||
->take(3);
|
||||
|
||||
$folders = Folder::search($query)
|
||||
->constrain($folderConstrain)
|
||||
->get();
|
||||
->get()
|
||||
->take(3);
|
||||
|
||||
// Collect folders and files to single array
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user