mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 00:35:30 +01:00
Accounted for .sender in a few places
This commit is contained in:
parent
ba7878b9aa
commit
5d4587ef8b
7 changed files with 95 additions and 41 deletions
|
|
@ -45,9 +45,9 @@ class DocumentAdmin(admin.ModelAdmin):
|
|||
"all": ("paperless.css",)
|
||||
}
|
||||
|
||||
search_fields = ("sender__name", "title", "content")
|
||||
list_display = ("created_", "sender", "title", "tags_", "document")
|
||||
list_filter = ("tags", "sender", MonthListFilter)
|
||||
search_fields = ("correspondent__name", "title", "content")
|
||||
list_display = ("created_", "correspondent", "title", "tags_", "document")
|
||||
list_filter = ("tags", "correspondent", MonthListFilter)
|
||||
list_per_page = 25
|
||||
|
||||
def created_(self, obj):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue