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

@@ -359,7 +359,7 @@ function BackendScriptApi(currentNote, apiParams) {
* @method
* @param {string} parentNoteId - this note's child notes will be sorted
*/
this.sortNotesAlphabetically = treeService.sortNotesAlphabetically;
this.sortNotesByTitle = treeService.sortNotesByTitle;
/**
* This method finds note by its noteId and prefix and either sets it to the given parentNoteId