mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	support tags__id__none for advanced search
				
					
				
			This commit is contained in:
		@@ -143,6 +143,9 @@ class DelayedQuery:
 | 
			
		||||
            elif k == "tags__id__all":
 | 
			
		||||
                for tag_id in v.split(","):
 | 
			
		||||
                    criterias.append(query.Term("tag_id", tag_id))
 | 
			
		||||
            elif k == "tags__id__none":
 | 
			
		||||
                for tag_id in v.split(","):
 | 
			
		||||
                    criterias.append(query.Not(query.Term("tag_id", tag_id)))
 | 
			
		||||
            elif k == "document_type__id":
 | 
			
		||||
                criterias.append(query.Term("type_id", v))
 | 
			
		||||
            elif k == "correspondent__isnull":
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user