changes to the admin document list

This commit is contained in:
jonaswinkler committed 2021-02-10 21:34:58 +01:00
1 parent 857fe3a55c
commit 3fa7dcb0cb
1 file changed
+2 -4
+2 -4
View File
@@ -59,9 +59,7 @@ class DocumentAdmin(admin.ModelAdmin):
list_display_links = ("title",)
list_display = (
"created",
"added",
"archive_serial_number",
"id",
"title",
"mime_type",
"filename",
@@ -76,7 +74,7 @@ class DocumentAdmin(admin.ModelAdmin):
filter_horizontal = ("tags",)
ordering = ["-created"]
ordering = ["-id"]
date_hierarchy = "created"