mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	fix note_reordering not updating note cache
This commit is contained in:
		| @@ -135,6 +135,10 @@ function getTree(req) { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     if (!(subTreeNoteId in noteCache.notes)) { | ||||
|         return [404, `Note ${subTreeNoteId} not found in the cache`]; | ||||
|     } | ||||
|  | ||||
|     collect(noteCache.notes[subTreeNoteId]); | ||||
|  | ||||
|     return getNotesAndBranchesAndAttributes(collectedNoteIds); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user