diff options
author | icewind1991 <robin@icewind.nl> | 2014-04-25 15:54:36 +0200 |
---|---|---|
committer | icewind1991 <robin@icewind.nl> | 2014-04-25 15:54:36 +0200 |
commit | 7599fa94ceffe9579b1312be45e1b5b5041151a9 (patch) | |
tree | a11fdf1f78d2166cb984e2299aa447257e70b47a /lib | |
parent | 5194f014c9c196bb891b6ed057500bd151ee7169 (diff) | |
parent | 194ea66cb51186be46a090c0ee915dcaf068fe94 (diff) | |
download | nextcloud-server-7599fa94ceffe9579b1312be45e1b5b5041151a9.tar.gz nextcloud-server-7599fa94ceffe9579b1312be45e1b5b5041151a9.zip |
Merge pull request #8350 from owncloud/share-search-mime
fix search by mime for shared single files
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/view.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 93d2c15c50b..31ec8cfacff 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -996,6 +996,7 @@ class View { break; } } + $rootEntry['path'] = substr($path . '/' . $rootEntry['name'], strlen($user) + 2); // full path without /$user/ $files[] = new FileInfo($path . '/' . $rootEntry['name'], $subStorage, '', $rootEntry); } } |