diff --git a/django/contrib/comments/admin.py b/django/contrib/comments/admin.py index 010e9b0d9f7..21ce62229a3 100644 --- a/django/contrib/comments/admin.py +++ b/django/contrib/comments/admin.py @@ -16,9 +16,10 @@ class CommentsAdmin(admin.ModelAdmin): ), ) - list_display = ('name', 'content_type', 'object_pk', 'ip_address', 'is_public', 'is_removed') + list_display = ('name', 'content_type', 'object_pk', 'ip_address', 'submit_date', 'is_public', 'is_removed') list_filter = ('submit_date', 'site', 'is_public', 'is_removed') date_hierarchy = 'submit_date' + ordering = ('-submit_date',) search_fields = ('comment', 'user__username', 'user_name', 'user_email', 'user_url', 'ip_address') admin.site.register(Comment, CommentsAdmin)