mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-11 18:47:13 +00:00
Accounted for .sender in a few places
This commit is contained in:
1 parent
ba7878b9aa
commit
5d4587ef8b
7 files changed
+95
-41
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user