Skip to content
Snippets Groups Projects
Commit 7749875a authored by Bart Visscher's avatar Bart Visscher
Browse files

Fix 'Search only shows the app name of the first app'

Fixes: oc-1369
parent b1bab6d1
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment