mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 01:26:47 +01:00
fixes #153, adds option for inline attachments and filename filters
This commit is contained in:
parent
6e84668884
commit
e107d5df6f
5 changed files with 101 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ class MailAccountAdmin(admin.ModelAdmin):
|
|||
class MailRuleAdmin(admin.ModelAdmin):
|
||||
|
||||
radio_fields = {
|
||||
"attachment_type": admin.VERTICAL,
|
||||
"action": admin.VERTICAL,
|
||||
"assign_title_from": admin.VERTICAL,
|
||||
"assign_correspondent_from": admin.VERTICAL
|
||||
|
|
@ -29,7 +30,9 @@ class MailRuleAdmin(admin.ModelAdmin):
|
|||
('filter_from',
|
||||
'filter_subject',
|
||||
'filter_body',
|
||||
'maximum_age')
|
||||
'filter_attachment_filename',
|
||||
'maximum_age',
|
||||
'attachment_type')
|
||||
}),
|
||||
(_("Actions"), {
|
||||
'description':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue