mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 01:57:08 +01:00
Add field 'added' to documents
This field indicates when the document was added to the database
This commit is contained in:
parent
52b32fddc9
commit
11db87fa11
4 changed files with 41 additions and 9 deletions
|
|
@ -125,7 +125,9 @@ class DocumentAdmin(CommonAdmin):
|
|||
}
|
||||
|
||||
search_fields = ("correspondent__name", "title", "content", "tags__name")
|
||||
list_display = ("title", "created", "thumbnail", "correspondent", "tags_")
|
||||
readonly_fields = ("added",)
|
||||
list_display = ("title", "created", "added", "thumbnail", "correspondent",
|
||||
"tags_")
|
||||
list_filter = ("tags", "correspondent", FinancialYearFilter,
|
||||
MonthListFilter)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue