Skip to content

Commit

Permalink
fix milestone admin search (#759)
Browse files Browse the repository at this point in the history
[#188745169]
  • Loading branch information
uraniumanchor authored Jan 6, 2025
1 parent 6d1e2a3 commit 1b023a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracker/admin/donation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 1b023a2

Please sign in to comment.