mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Sorting the filters
This commit is contained in:
parent
a70b40f618
commit
3bc89d23c8
1 changed files with 3 additions and 3 deletions
|
|
@ -40,10 +40,10 @@ class TagAdmin(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_filter = (MonthListFilter, "tags", "sender")
|
||||
list_editable = ("sender", "title",)
|
||||
list_filter = ("tags", "sender", MonthListFilter)
|
||||
list_editable = ("sender", "title")
|
||||
list_per_page = 25
|
||||
|
||||
def edit(self, obj):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue