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

This commit is contained in:
Joas Schilling 2015-01-29 12:21:20 +01:00
parent 099d43b1f9
commit 54303484eb
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class File extends \OCP\Search\Result {
$this->link = \OCP\Util::linkTo( $this->link = \OCP\Util::linkTo(
'files', 'files',
'index.php', 'index.php',
array('dir' => $info['dirname'], 'file' => $info['basename']) array('dir' => $info['dirname'], 'scrollto' => $info['basename'])
); );
$this->permissions = $data->getPermissions(); $this->permissions = $data->getPermissions();
$this->path = $path; $this->path = $path;