mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
Sorting the filters
This commit is contained in:
@@ -40,10 +40,10 @@ class TagAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
class DocumentAdmin(admin.ModelAdmin):
|
class DocumentAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
search_fields = ("sender__name", "title", "content",)
|
search_fields = ("sender__name", "title", "content")
|
||||||
list_display = ("edit", "created", "sender", "title", "tags_", "document")
|
list_display = ("edit", "created", "sender", "title", "tags_", "document")
|
||||||
list_filter = (MonthListFilter, "tags", "sender")
|
list_filter = ("tags", "sender", MonthListFilter)
|
||||||
list_editable = ("sender", "title",)
|
list_editable = ("sender", "title")
|
||||||
list_per_page = 25
|
list_per_page = 25
|
||||||
|
|
||||||
def edit(self, obj):
|
def edit(self, obj):
|
||||||
|
Reference in New Issue
Block a user