summaryrefslogtreecommitdiffstats
path: root/lib/private/search/result/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/search/result/file.php')
-rw-r--r--lib/private/search/result/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/search/result/file.php b/lib/private/search/result/file.php
index 13f1a62fbc0..ad65dce2bc4 100644
--- a/lib/private/search/result/file.php
+++ b/lib/private/search/result/file.php
@@ -77,7 +77,7 @@ class File extends \OCP\Search\Result {
$this->link = \OCP\Util::linkTo(
'files',
'index.php',
- array('dir' => $info['dirname'], 'file' => $info['basename'])
+ array('dir' => $info['dirname'], 'scrollto' => $info['basename'])
);
$this->permissions = $data->getPermissions();
$this->path = $path;