summaryrefslogtreecommitdiffstats
path: root/search
diff options
context:
space:
mode:
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 b300f90f4c2..04e999c62ee 100644
--- a/search/js/result.js
+++ b/search/js/result.js
@@ -64,7 +64,7 @@ OC.search.showResults=function(results){
row.data('index',index);
if (i === 0){
- var typeName = typeid.charAt(0).toUpperCase() + typeid.slice(1);
+ var typeName = OC.search.resultTypes[typeid];
row.children('td.type').text(t('lib', typeName));
}
row.find('td.result div.name').text(type[i].name);