Skip to content

Commit

Permalink
fix: allowing for search lookup of group members in django admin
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sheehan-edx committed May 8, 2024
1 parent a69d8a1 commit f285559
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions enterprise/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,9 +1203,10 @@ class EnterpriseGroupMembershipAdmin(admin.ModelAdmin):
list_display = ('group', 'membership_user',)
search_fields = (
'uuid',
'group__enterprise_customer_user',
'enterprise_customer_user',
'pending_enterprise_customer_user',
'group__uuid',
'group__enterprise_customer__uuid',
'enterprise_customer_user__id',
'pending_enterprise_customer_user__user_email',
)
autocomplete_fields = (
'group',
Expand Down

0 comments on commit f285559

Please sign in to comment.