]> source.dussan.org Git - nextcloud-server.git/commitdiff
add / to url to match route
authorJörn Friedrich Dreyer <jfd@butonic.de>
Thu, 4 Sep 2014 11:58:37 +0000 (13:58 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 5 Sep 2014 14:55:36 +0000 (16:55 +0200)
search/js/result.js

index 857b4fe1f22e1a1204250ec15196dec0d60db8da..13be0b552bf49723117073931c119c94e4792f3f 100644 (file)
@@ -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)