diff --git a/src/vendor/admin.py b/src/vendor/admin.py index 6e08acbb..7f16528d 100644 --- a/src/vendor/admin.py +++ b/src/vendor/admin.py @@ -134,7 +134,7 @@ class InvoiceAdmin(admin.ModelAdmin): class OfferAdmin(admin.ModelAdmin): readonly_fields = ('uuid',) list_display = ('name', 'slug', 'site', 'terms', 'available', 'deleted') - search_fields = ('name', 'site', ) + search_fields = ('name', 'site__domain', ) list_filter = ('site__domain', ) inlines = [ PriceInline,