mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
show the filename in the admin.
This commit is contained in:
parent
312b0034bd
commit
ee69429898
1 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ class TagAdmin(admin.ModelAdmin):
|
|||
list_filter = ("colour", "matching_algorithm")
|
||||
list_editable = ("colour", "match", "matching_algorithm")
|
||||
|
||||
readonly_fields = ("slug",)
|
||||
readonly_fields = ("slug", )
|
||||
|
||||
|
||||
class DocumentTypeAdmin(admin.ModelAdmin):
|
||||
|
|
@ -51,9 +51,9 @@ class DocumentTypeAdmin(admin.ModelAdmin):
|
|||
class DocumentAdmin(admin.ModelAdmin):
|
||||
|
||||
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",
|
||||
"tags_", "archive_serial_number", "document_type")
|
||||
"tags_", "archive_serial_number", "document_type", "filename")
|
||||
list_filter = (
|
||||
"document_type",
|
||||
"tags",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue