mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-26 01:12:43 -05:00
Allows filtering email by the TO value(s) as well
This commit is contained in:
@@ -113,12 +113,21 @@ class MailRule(document_models.ModelWithOwner):
|
||||
null=True,
|
||||
blank=True,
|
||||
)
|
||||
|
||||
filter_to = models.CharField(
|
||||
_("filter to"),
|
||||
max_length=256,
|
||||
null=True,
|
||||
blank=True,
|
||||
)
|
||||
|
||||
filter_subject = models.CharField(
|
||||
_("filter subject"),
|
||||
max_length=256,
|
||||
null=True,
|
||||
blank=True,
|
||||
)
|
||||
|
||||
filter_body = models.CharField(
|
||||
_("filter body"),
|
||||
max_length=256,
|
||||
|
Reference in New Issue
Block a user