Skip to content

Commit

Permalink
articles: admin - compliance add search filters
Browse files Browse the repository at this point in the history
Signed-off-by: pamfilos <[email protected]>
  • Loading branch information
pamfilos committed Jan 26, 2024
1 parent 5a3cb84 commit 59db9b5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scoap3/articles/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 59db9b5

Please sign in to comment.