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 16:34:04 +0300
committerMaxence Lange <maxence@nextcloud.com>2017-04-27 16:37:34 +0300
commit1f2cb2b5194538bf419637fdb6e25e4e00b424f5 (patch)
tree21566ff0ff5bfb0ae38d99194b31165efc8baad8
parent751d78edac88510c74425be6f0956ff43a4a6586 (diff)
Compatible 10.0.3/11 - #168
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 6cb4552..f31ba11 100644
--- a/lib/Service/FileService.php
+++ b/lib/Service/FileService.php
@@ -344,7 +344,7 @@ class FileService
return $data;
$folder = $userFolder->get('/');
- $files = $folder->search('');
+ $files = $folder->getDirectoryListing();
foreach ($files as $file) {
if ($file->getType() == \OCP\Files\FileInfo::TYPE_FOLDER && $this->configService->getAppValue('index_files_tree') !== '1')