Skip to content

Commit

Permalink
adding filters to ingest statuses admin
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmundy authored and jcmundy committed Sep 18, 2023
1 parent 0ebaa4a commit 88068ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/ingest/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,12 @@ class TaskWatcherAdmin(admin.ModelAdmin):
"filename",
"task_name",
"task_status",
"associated_manifest",
"task_creator",
"date_created",
"date_done",
)
list_filter = ('task_creator', 'task_result__task_name')
list_filter = ('task_result__task_name', 'task_result__status', 'task_creator', 'associated_manifest__pid')
search_fields = ('filename',)
date_hierarchy = 'task_result__date_created'
empty_value_display = '(none)'
Expand Down

0 comments on commit 88068ef

Please sign in to comment.