From 331f9cb98df45e172f818d67eedfee51e5015568 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de>
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)
-- 
GitLab