mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	always keep all the ancestors in the tree WIP
This commit is contained in:
		| @@ -55,7 +55,7 @@ async function getTree() { | ||||
|  | ||||
|     // we fetch all branches of notes, even if that particular branch isn't visible | ||||
|     // this allows us to e.g. detect and properly display clones | ||||
|     let noteIds = await sql.getColumn(` | ||||
|     const noteIds = await sql.getColumn(` | ||||
|         WITH RECURSIVE | ||||
|             tree(branchId, noteId, isExpanded) AS ( | ||||
|             SELECT branchId, noteId, isExpanded FROM branches WHERE noteId = ?  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user