diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-22 15:44:59 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-22 15:44:59 +0100 |
commit | 1267dccfe36bb274df6d3fe54f19fa67a3223427 (patch) | |
tree | 9ed563b27c11c84f18bc9f160562928231995206 /lib/search/provider/file.php | |
parent | e01efd3887400ab26341260de48c23cc27a6eb82 (diff) | |
parent | 6eae96b7b03bf804fbbd891533eb4a396b26ee9d (diff) | |
download | nextcloud-server-1267dccfe36bb274df6d3fe54f19fa67a3223427.tar.gz nextcloud-server-1267dccfe36bb274df6d3fe54f19fa67a3223427.zip |
Merge branch 'stable5' into fixing-4866-stable5
Diffstat (limited to 'lib/search/provider/file.php')
-rw-r--r-- | lib/search/provider/file.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/search/provider/file.php b/lib/search/provider/file.php index 4d88c2a87f1..9bd50931517 100644 --- a/lib/search/provider/file.php +++ b/lib/search/provider/file.php @@ -10,6 +10,7 @@ class OC_Search_Provider_File extends OC_Search_Provider{ $mime = $fileData['mimetype']; $name = basename($path); + $container = dirname($path); $text = ''; $skip = false; if($mime=='httpd/unix-directory') { @@ -37,7 +38,7 @@ class OC_Search_Provider_File extends OC_Search_Provider{ } } if(!$skip) { - $results[] = new OC_Search_Result($name, $text, $link, $type); + $results[] = new OC_Search_Result($name, $text, $link, $type, $container); } } return $results; |