mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	use 100 children limit on only search notes (as was initially intended), fixes #1673
This commit is contained in:
		
							parent
							
								
									93d55b3e7b
								
							
						
					
					
						commit
						0f065536d0
					
				| @ -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); | ||||||
|                         } |                         } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam