From 60acfa30e561b5d27d30a7a800c861fcd52889a8 Mon Sep 17 00:00:00 2001 From: Benjamin Cutler Date: Tue, 30 May 2023 22:54:59 -0500 Subject: [PATCH] fix milestone admin search [#188745169] --- tracker/admin/donation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker/admin/donation.py b/tracker/admin/donation.py index c4784f5e3..b0251b041 100644 --- a/tracker/admin/donation.py +++ b/tracker/admin/donation.py @@ -405,6 +405,6 @@ def merge_donors(self, request, queryset): @register(models.Milestone) class MilestoneAdmin(EventLockedMixin, EventReadOnlyMixin, CustomModelAdmin): autocomplete_fields = ('event',) - search_fields = ('event', 'name', 'description', 'short_description') + search_fields = ('name', 'description', 'short_description') list_filter = ('event',) list_display = ('name', 'event', 'start', 'amount', 'visible')