From f8fb3ab37bdd618f0c2dd4281c4035239b45aa7b Mon Sep 17 00:00:00 2001 From: tomolopolis Date: Tue, 29 Aug 2023 15:20:01 +0100 Subject: [PATCH] CU-8692me3hc: filters for admin page --- webapp/api/api/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/api/api/admin.py b/webapp/api/api/admin.py index f884fa14..dc7997b0 100644 --- a/webapp/api/api/admin.py +++ b/webapp/api/api/admin.py @@ -375,6 +375,8 @@ class DatasetAdmin(ReportErrorModelAdminMixin, admin.ModelAdmin): class ProjectAnnotateEntitiesAdmin(admin.ModelAdmin): model = ProjectAnnotateEntities actions = [download, download_without_text, download_without_text_with_doc_names, reset_project, clone_projects] + list_filter = ('members', 'project_status', 'project_locked', 'annotation_classification') + list_display = ['name'] def formfield_for_foreignkey(self, db_field, request, **kwargs): if db_field.name == 'concept_db':