Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@nextcloud.com>2017-04-27 23:10:19 +0300
committerMaxence Lange <maxence@nextcloud.com>2017-04-27 23:10:19 +0300
commitf2a4cc1e75e5daa4746ba224747f8018aeac36a3 (patch)
tree964a18c9099106e8c3e432838c2fd3952c529703
parent4cb8053b35e1874f5caeca5462bb5a173e546085 (diff)
well, #166
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
-rw-r--r--lib/Service/FileService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/FileService.php b/lib/Service/FileService.php
index f31ba11..1824f10 100644
--- a/lib/Service/FileService.php
+++ b/lib/Service/FileService.php
@@ -344,7 +344,7 @@ class FileService
return $data;
$folder = $userFolder->get('/');
- $files = $folder->getDirectoryListing();
+ $files = $folder->search('%');
foreach ($files as $file) {
if ($file->getType() == \OCP\Files\FileInfo::TYPE_FOLDER && $this->configService->getAppValue('index_files_tree') !== '1')