summaryrefslogtreecommitdiffstats
path: root/search
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-17 18:00:54 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-17 20:00:31 +0200
commit7749875a0d9a90978467cae4a605dd6f1eaf939c (patch)
treef80cec31eaf9789b63fe02b219f4e77c32614087 /search
parentb1bab6d11345275f384eeda4d20b8b280d8bfb93 (diff)
downloadnextcloud-server-7749875a0d9a90978467cae4a605dd6f1eaf939c.tar.gz
nextcloud-server-7749875a0d9a90978467cae4a605dd6f1eaf939c.zip
Fix 'Search only shows the app name of the first app'
Fixes: oc-1369
Diffstat (limited to 'search')
-rw-r--r--search/js/result.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/js/result.js b/search/js/result.js
index 27a2383e2c3..aaecde08c6b 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);