summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-01-29 15:36:25 +0100
committerLukas Reschke <lukas@owncloud.com>2015-01-29 15:36:25 +0100
commit65ec950b27d625b8184fbff28ecb7778f55415d9 (patch)
tree74c6d69ce68b6f7f5d9cfa6d42b3b541c96096e1
parent2c1bacadcab69f6491a411f1f3e0afd3408cbf66 (diff)
parent54303484eb05ba4996fa2c9bf8b57ea6371c0667 (diff)
downloadnextcloud-server-65ec950b27d625b8184fbff28ecb7778f55415d9.tar.gz
nextcloud-server-65ec950b27d625b8184fbff28ecb7778f55415d9.zip
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
-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;