summaryrefslogtreecommitdiffstats
path: root/search
diff options
context:
space:
mode:
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)