mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	use 100 children limit on only search notes (as was initially intended), fixes #1673
This commit is contained in:
		| @@ -476,7 +476,7 @@ export default class NoteTreeWidget extends TabAwareWidget { | |||||||
|  |  | ||||||
|                         let childNoteIds = note.getChildNoteIds(); |                         let childNoteIds = note.getChildNoteIds(); | ||||||
|  |  | ||||||
|                         if (childNoteIds.length > MAX_SEARCH_RESULTS_IN_TREE) { |                         if (note.type === 'search' && childNoteIds.length > MAX_SEARCH_RESULTS_IN_TREE) { | ||||||
|                             childNoteIds = childNoteIds.slice(0, MAX_SEARCH_RESULTS_IN_TREE); |                             childNoteIds = childNoteIds.slice(0, MAX_SEARCH_RESULTS_IN_TREE); | ||||||
|                         } |                         } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user