mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
updated the admin, ordering for mail rules
This commit is contained in:
parent
d3482a4aef
commit
af3d161f66
5 changed files with 46 additions and 7 deletions
|
|
@ -11,7 +11,15 @@ class MailRuleAdmin(admin.ModelAdmin):
|
|||
|
||||
list_filter = ("account",)
|
||||
|
||||
list_display = ("name", "account", "folder", "action")
|
||||
list_display = ("order", "name", "account", "folder", "action")
|
||||
|
||||
list_editable = ("order", )
|
||||
|
||||
list_display_links = ("name", )
|
||||
|
||||
sortable_by = []
|
||||
|
||||
ordering = ["order"]
|
||||
|
||||
|
||||
admin.site.register(MailAccount, MailAccountAdmin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue