Merge pull request #13757 from owncloud/issue/13686-scroll-to-file-when-using-searchotherplaces

Scroll to file in folder, when using "search in other places" link
This commit is contained in:
Lukas Reschke 2015-01-29 15:36:25 +01:00
commit 65ec950b27

View file

@ -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;