summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/deals/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/deals/admin.py b/app/deals/admin.py
index 74a5b13..7f78079 100644
--- a/app/deals/admin.py
+++ b/app/deals/admin.py
@@ -10,7 +10,7 @@ from .models import Deal, Brand
@admin.register(Deal)
class DealAdmin(OSMGeoAdmin):
list_display = ('brand_str', 'brand', 'title', 'category', 'deal_price', 'original_price', 'discount_percent', 'promo_type', 'amazon_link', 'search_ccc', 'search_wired', 'get_airtable_code')
- search_fields = ['brand', 'title', ]
+ search_fields = ['brand__name', 'title', ]
list_filter = ('category', 'promo_type', ('brand_str', DropdownFilter),)