From: Jörn Friedrich Dreyer Date: Thu, 4 Sep 2014 11:58:37 +0000 (+0200) Subject: add / to url to match route X-Git-Tag: v7.0.3alpha1~118 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1f2550e3daf5180c046ad72ab588ea7b74e58a41;p=nextcloud-server.git add / to url to match route --- 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)