Skip to content

Commit

Permalink
GITC-518: adds missing foreign keys to raw_id_fields (#9597)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon authored Oct 15, 2021
1 parent 0c6ec2c commit 769a505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def response_change(self, request, obj):

# Register your models here.
class BountyAdmin(admin.ModelAdmin):
raw_id_fields = ['interested', 'bounty_owner_profile', 'bounty_reserved_for_user']
raw_id_fields = ['interested', 'coupon_code', 'org', 'event', 'bounty_owner_profile', 'bounty_reserved_for_user']
ordering = ['-id']

search_fields = ['raw_data', 'title', 'bounty_owner_github_username', 'token_name']
Expand Down

0 comments on commit 769a505

Please sign in to comment.