Merge branch 'master' into dev

This commit is contained in:
Jonas Winkler
2019-01-21 15:07:49 +01:00
61 changed files with 4844 additions and 636 deletions

View File

@@ -148,7 +148,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):