summaryrefslogtreecommitdiffstats
path: root/search
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-09-04 13:58:37 +0200
committerVincent Petry <pvince81@owncloud.com>2014-09-05 16:55:36 +0200
commit1f2550e3daf5180c046ad72ab588ea7b74e58a41 (patch)
treeb540269388323e42ea034ade0c6997225c02eac7 /search
parentcfca88f20e0a246d08e7402efdde41695b44291a (diff)
downloadnextcloud-server-1f2550e3daf5180c046ad72ab588ea7b74e58a41.tar.gz
nextcloud-server-1f2550e3daf5180c046ad72ab588ea7b74e58a41.zip
add / to url to match route
Diffstat (limited to 'search')
-rw-r--r--search/js/result.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/js/result.js b/search/js/result.js
index 857b4fe1f22..13be0b552bf 100644
--- a/search/js/result.js
+++ b/search/js/result.js
@@ -80,7 +80,7 @@ OC.search.showResults=function(results){
containerName = '/';
}
var containerLink = OC.linkTo('files', 'index.php')
- +'?dir='+encodeURIComponent(parent)
+ +'/?dir='+encodeURIComponent(parent)
+'&scrollto='+encodeURIComponent(type[i].name);
row.find('td.result a')
.attr('href', containerLink)