mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	allow specifiyng sorted attribute (including off for overriding), #2142
This commit is contained in:
		| @@ -352,7 +352,7 @@ function BackendScriptApi(currentNote, apiParams) { | ||||
|      * @method | ||||
|      * @param {string} parentNoteId - this note's child notes will be sorted | ||||
|      */ | ||||
|     this.sortNotesByTitle = treeService.sortNotesByTitle; | ||||
|     this.sortNotesByTitle = parentNoteId => treeService.sortNotes(parentNoteId); | ||||
|  | ||||
|     /** | ||||
|      * This method finds note by its noteId and prefix and either sets it to the given parentNoteId | ||||
|   | ||||
		Reference in New Issue
	
	Block a user