mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Fixes inversion in tagged mail searching
This commit is contained in:
		
							parent
							
								
									df203311fe
								
							
						
					
					
						commit
						29d8c4e08d
					
				@ -168,7 +168,7 @@ class TagMailAction(BaseMailAction):
 | 
			
		||||
            if self.supports_gmail_labels:
 | 
			
		||||
                return AND(NOT(gmail_label=self.keyword), no_keyword=self.keyword)
 | 
			
		||||
            else:
 | 
			
		||||
                return NOT(no_keyword=self.keyword)
 | 
			
		||||
                return {"no_keyword": self.keyword}
 | 
			
		||||
        else:  # pragma: nocover
 | 
			
		||||
            raise ValueError("This should never happen.")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user