diff options
author | luxagraf <sng@luxagraf.net> | 2023-06-30 19:22:04 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-06-30 19:22:04 -0500 |
commit | 4e85f4e162358118bd313514da969eabc3db468b (patch) | |
tree | acce33858d4f96a39da6b0d6e2add5290d18cc07 /app | |
parent | 3d2cc4ef62465699ccc09747c65fb117e11502e9 (diff) |
fixed a bug in search
Diffstat (limited to 'app')
-rw-r--r-- | app/deals/admin.py | 2 |
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),) |