From 7749875a0d9a90978467cae4a605dd6f1eaf939c Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Mon, 17 Sep 2012 18:00:54 +0200 Subject: [PATCH] Fix 'Search only shows the app name of the first app' Fixes: oc-1369 --- 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 27a2383e2c..aaecde08c6 100644 --- a/search/js/result.js +++ b/search/js/result.js @@ -45,7 +45,7 @@ OC.search.showResults=function(results){ var row=$('#searchresults tr.template').clone(); row.removeClass('template'); row.addClass('result'); - if (index == 0){ + if (i == 0){ row.children('td.type').text(name); } row.find('td.result a').attr('href',type[i].link);