mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01: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();
 | 
			
		||||
 | 
			
		||||
                        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);
 | 
			
		||||
                        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user