From 88068ef96d39b6a8310c90a209f107f056613b63 Mon Sep 17 00:00:00 2001 From: jcmundy Date: Mon, 18 Sep 2023 15:29:48 -0400 Subject: [PATCH] adding filters to ingest statuses admin --- apps/ingest/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/ingest/admin.py b/apps/ingest/admin.py index ba5200a9..bd9013d5 100644 --- a/apps/ingest/admin.py +++ b/apps/ingest/admin.py @@ -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)'