From 3fa7dcb0cbfed934e35bd7fce995427ed1861098 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Wed, 10 Feb 2021 21:34:50 +0100 Subject: [PATCH] changes to the admin document list --- src/documents/admin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/documents/admin.py b/src/documents/admin.py index 5447b6ef2..f87ab1ec5 100755 --- a/src/documents/admin.py +++ b/src/documents/admin.py @@ -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"