mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	allow multiple instances of @in operator, closes #716
This commit is contained in:
		| @@ -35,9 +35,9 @@ async function searchForNoteIds(searchString) { | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         const isInFilter = filters.find(filter => filter.name.toLowerCase() === 'in'); | ||||
|         const isInFilters = filters.filter(filter => filter.name.toLowerCase() === 'in'); | ||||
|  | ||||
|         if (isInFilter) { | ||||
|         for (const isInFilter of isInFilters) { | ||||
|             if (isInFilter.operator === '=') { | ||||
|                 noteIds = noteIds.filter(noteId => noteCacheService.isInAncestor(noteId, isInFilter.value)); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user