1
0
mirror of https://github.com/laurent22/joplin.git synced 2026-05-22 09:05:38 +02:00

Minor changes

This commit is contained in:
Laurent Cozic
2017-07-14 18:02:45 +00:00
parent 2142c4aaf0
commit 4dc540e589
6 changed files with 21 additions and 4 deletions
+5 -1
View File
@@ -59,7 +59,11 @@ class ReportService {
section.title = _('Folders');
section.body = [];
let folders = await Folder.all();
let folders = await Folder.all({
orderBy: 'title',
caseInsensitive: true,
});
for (let i = 0; i < folders.length; i++) {
let folder = folders[i];
section.body.push(_('%s: %d notes', folders[i].title, await Folder.noteCount(folders[i].id)));