From eec1420ee94e14bc120d1b5ab615b28afa225e67 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 29 Jan 2024 21:49:45 -0500 Subject: [PATCH] membershipworks: Fix EventInstructor `search_fields` --- membershipworks/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/membershipworks/admin.py b/membershipworks/admin.py index a0e16a3..34affd1 100644 --- a/membershipworks/admin.py +++ b/membershipworks/admin.py @@ -107,7 +107,7 @@ class EventMeetingTimeInline(admin.TabularInline): @admin.register(EventInstructor) class EventInstructorAdmin(admin.ModelAdmin): autocomplete_fields = ["member"] - search_fields = ["name", "member"] + search_fields = ["name", "member__account_name"] @admin.register(EventExt)