summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-29 12:21:20 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-01-29 12:21:20 +0100
commit54303484eb05ba4996fa2c9bf8b57ea6371c0667 (patch)
tree772732a3a8ba695f86ae1d6796739c8a6afa927d
parent099d43b1f9300f508c1899d376ae5aef459894bb (diff)
downloadnextcloud-server-54303484eb05ba4996fa2c9bf8b57ea6371c0667.tar.gz
nextcloud-server-54303484eb05ba4996fa2c9bf8b57ea6371c0667.zip
Scroll to file in folder, when using "search in other places" link
-rw-r--r--lib/private/search/result/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/search/result/file.php b/lib/private/search/result/file.php
index 13f1a62fbc0..ad65dce2bc4 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;