]> source.dussan.org Git - nextcloud-server.git/commitdiff
Scroll to file in folder, when using "search in other places" link
authorJoas Schilling <nickvergessen@gmx.de>
Thu, 29 Jan 2015 11:21:20 +0000 (12:21 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Thu, 29 Jan 2015 11:21:20 +0000 (12:21 +0100)
lib/private/search/result/file.php

index 13f1a62fbc0bc19919b3a7e87a8e6b78db232b36..ad65dce2bc4436ea67a394ee041ee5d6258a6f05 100644 (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;