From 1619bd4b0841db1c8fa88c68bdfb1170d00e3151 Mon Sep 17 00:00:00 2001 From: Michael Collins <15347726+michaeljcollinsuk@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:51:47 +0100 Subject: [PATCH] Add last_login to user admin filter --- controlpanel/api/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/controlpanel/api/admin.py b/controlpanel/api/admin.py index bb13b4a2a..ad9e199fb 100644 --- a/controlpanel/api/admin.py +++ b/controlpanel/api/admin.py @@ -43,6 +43,7 @@ class UserAdmin(admin.ModelAdmin): exclude = ("password",) list_filter = [ "migration_state", + "last_login", ("justice_email", admin.EmptyFieldListFilter), ] search_fields = (