Scroll to file in folder, when using "search in other places" link
This commit is contained in:
parent
099d43b1f9
commit
54303484eb
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue