mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
show the filename in the admin.
This commit is contained in:
parent
ce7bb51df2
commit
5a658b7ad6
@ -51,9 +51,9 @@ class DocumentTypeAdmin(admin.ModelAdmin):
|
|||||||
class DocumentAdmin(admin.ModelAdmin):
|
class DocumentAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
search_fields = ("correspondent__name", "title", "content", "tags__name")
|
search_fields = ("correspondent__name", "title", "content", "tags__name")
|
||||||
readonly_fields = ("added", "file_type", "storage_type",)
|
readonly_fields = ("added", "file_type", "storage_type", "filename")
|
||||||
list_display = ("title", "created", "added", "correspondent",
|
list_display = ("title", "created", "added", "correspondent",
|
||||||
"tags_", "archive_serial_number", "document_type")
|
"tags_", "archive_serial_number", "document_type", "filename")
|
||||||
list_filter = (
|
list_filter = (
|
||||||
"document_type",
|
"document_type",
|
||||||
"tags",
|
"tags",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user