From 4cabb0ffda9dba0fbd61c73cf8211c6b54edbe66 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Sat, 27 Apr 2024 17:11:33 -0400 Subject: [PATCH] feat: Add filter to check historical publications --- data_registry/admin.py | 1 + docs/admin/siteadmin.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/data_registry/admin.py b/data_registry/admin.py index 6d4aab1..ba15970 100644 --- a/data_registry/admin.py +++ b/data_registry/admin.py @@ -259,6 +259,7 @@ class CollectionAdmin(CascadeTaskMixin, TabbedDjangoJqueryTranslationAdmin): list_filter = [ "public", "frozen", + "retrieval_frequency", ("license_custom", admin.EmptyFieldListFilter), ("summary_en", admin.EmptyFieldListFilter), IncompleteFilter, diff --git a/docs/admin/siteadmin.rst b/docs/admin/siteadmin.rst index fa9529c..3ca830f 100644 --- a/docs/admin/siteadmin.rst +++ b/docs/admin/siteadmin.rst @@ -53,6 +53,7 @@ From time to time, use the filters in the right-hand sidebar to: - Unpublished publications (*By public*: No) - Frozen publications (*By frozen*: Yes) + - Historical publications (*By retrieval frequency*: NEVER) Review jobs -----------