From 59db9b5890eee031e39c4dcf72179cf51482e3c5 Mon Sep 17 00:00:00 2001 From: pamfilos Date: Mon, 22 Jan 2024 14:13:33 +0100 Subject: [PATCH] articles: admin - compliance add search filters Signed-off-by: pamfilos --- scoap3/articles/admin.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scoap3/articles/admin.py b/scoap3/articles/admin.py index 73391d582..d0b8e1103 100644 --- a/scoap3/articles/admin.py +++ b/scoap3/articles/admin.py @@ -67,6 +67,18 @@ class ComplianceReportAdmin(admin.ModelAdmin): "check_doi_registration_time_description", ] + list_filter = [ + "report_date", + "article_id___updated_at", + "article_id___created_at", + "article_id__publication_info__journal_title", + "article_id__report__check_license", + "article_id__report__check_file_formats", + "article_id__report__check_arxiv_category", + "article_id__report__check_article_type", + "article_id__report__check_doi_registration_time", + ] + actions = ["export_as_csv"] @admin.display(description="ID")