mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
updated the admin, ordering for mail rules
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user