diff --git a/lib/private/search/result/file.php b/lib/private/search/result/file.php index 13f1a62fbc..ad65dce2bc 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;