added "sort by" dialog

This commit is contained in:
zadam
2021-02-28 23:40:15 +01:00
parent 1c59bc4d3c
commit 4aa27b6033
9 changed files with 84 additions and 39 deletions

View File

@@ -463,7 +463,7 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
if (!metaFile) {
// if there's no meta file then the notes are created based on the order in that tar file but that
// is usually quite random so we sort the notes in the way they would appear in the file manager
treeService.sortNotesAlphabetically(noteId, true);
treeService.sortNotesByTitle(noteId, true);
}
taskContext.increaseProgressCount();