Skip to content

Commit

Permalink
fix: highlight default order column #179
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Jan 22, 2024
1 parent 05bdce0 commit 60129d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prophecies/core/admin/task_record_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class TaskRecordAdmin(ExportWithCsvStreamMixin, admin.ModelAdmin):
resource_class = TaskRecordResource
change_list_template = "admin/task_record_changelist.html"
actions_on_bottom = True
ordering = ('-id',)
ordering = ('-pk',)
exclude = ['metadata', 'rounds', 'link', 'status']
readonly_fields = ['round_count', 'status_badge', 'computed_link', 'metadata_json']
list_display = ['task_record_excerpt', 'original_value', 'task_with_addon', 'round_count', 'status_badge']
Expand Down

0 comments on commit 60129d7

Please sign in to comment.