mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-03 21:39:22 +00:00
Exposing documents' "added" timestamp via Rest API.
This commit is contained in:
1 parent
2ef2bf873e
commit
0c47907dda
2 files changed
+2
-1
No files matched your search
@@ -130,7 +130,7 @@ class DocumentViewSet(RetrieveModelMixin,
|
||||
filter_class = DocumentFilterSet
|
||||
search_fields = ("title", "correspondent__name", "content")
|
||||
ordering_fields = (
|
||||
"id", "title", "correspondent__name", "created", "modified")
|
||||
"id", "title", "correspondent__name", "created", "modified", "added")
|
||||
|
||||
|
||||
class LogViewSet(ReadOnlyModelViewSet):
|
||||
|
||||
Reference in new issue
Block a user