From 1f2550e3daf5180c046ad72ab588ea7b74e58a41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 4 Sep 2014 13:58:37 +0200 Subject: [PATCH] add / to url to match route --- search/js/result.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5