Fix 'Search only shows the app name of the first app'
Fixes: oc-1369
This commit is contained in:
parent
b1bab6d113
commit
7749875a0d
|
@ -45,7 +45,7 @@ OC.search.showResults=function(results){
|
||||||
var row=$('#searchresults tr.template').clone();
|
var row=$('#searchresults tr.template').clone();
|
||||||
row.removeClass('template');
|
row.removeClass('template');
|
||||||
row.addClass('result');
|
row.addClass('result');
|
||||||
if (index == 0){
|
if (i == 0){
|
||||||
row.children('td.type').text(name);
|
row.children('td.type').text(name);
|
||||||
}
|
}
|
||||||
row.find('td.result a').attr('href',type[i].link);
|
row.find('td.result a').attr('href',type[i].link);
|
||||||
|
|
Loading…
Reference in New Issue