From 54303484eb05ba4996fa2c9bf8b57ea6371c0667 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 29 Jan 2015 12:21:20 +0100 Subject: [PATCH] Scroll to file in folder, when using "search in other places" link --- lib/private/search/result/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/search/result/file.php b/lib/private/search/result/file.php index 13f1a62fbc..ad65dce2bc 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;