Skip to content

Commit

Permalink
adds site domain to search fields
Browse files Browse the repository at this point in the history
  • Loading branch information
devo-wm authored Dec 9, 2024
1 parent 044cc33 commit 41a352a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vendor/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 41a352a

Please sign in to comment.