diff --git a/bookwyrm/views/user_admin.py b/bookwyrm/views/user_admin.py index ac5357a2..574356c2 100644 --- a/bookwyrm/views/user_admin.py +++ b/bookwyrm/views/user_admin.py @@ -33,6 +33,9 @@ class UserAdminList(View): scope = request.GET.get("scope") if scope and scope == "local": filters["local"] = True + email = request.GET.get("email") + if email: + filters["email__endswith"] = email users = models.User.objects.filter(**filters)