Skip to content

Commit

Permalink
Merge pull request #4626 from GSA-TTS/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm authored Jan 15, 2025
2 parents 0e5cd55 + 61aa40e commit ca988ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def assigned_groups(self, obj):
@admin.register(UserPermission)
class UserPermissionAdmin(admin.ModelAdmin):
list_display = ["user", "email", "permission"]
search_fields = ("email", "permission", "user")
search_fields = ("email", "permission__slug", "user__username")
fields = ["email", "permission"]

def save_model(self, request, obj, form, change):
Expand Down

0 comments on commit ca988ae

Please sign in to comment.