Skip to content
Snippets Groups Projects
Commit 54303484 authored by Joas Schilling's avatar Joas Schilling
Browse files

Scroll to file in folder, when using "search in other places" link

parent 099d43b1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment