mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-24 16:48:55 +00:00
fixes #153, adds option for inline attachments and filename filters
This commit is contained in:
1 parent
6e84668884
commit
e107d5df6f
5 files changed
+101
-2
No files matched your search
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user