mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
Fixes inversion in tagged mail searching
This commit is contained in:
parent
df203311fe
commit
29d8c4e08d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue