Skip to content

Commit

Permalink
Add tournament to ballot submission changelist filters
Browse files Browse the repository at this point in the history
  • Loading branch information
czlee committed Jul 20, 2019
1 parent a95aba0 commit 0bd01d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabbycat/results/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BallotSubmissionAdmin(TabbycatModelAdminFieldsMixin, admin.ModelAdmin):
list_editable = ('confirmed',)
search_fields = ('debate__debateteam__team__reference', 'debate__debateteam__team__institution__code')
raw_id_fields = ('debate', 'motion', 'forfeit')
list_filter = ('debate__round', 'submitter', 'confirmer')
list_filter = ('debate__round', 'debate__round__tournament', 'submitter', 'confirmer')
# This incurs a massive performance hit
# inlines = (SpeakerScoreByAdjInline, SpeakerScoreInline, TeamScoreInline)

Expand Down

0 comments on commit 0bd01d1

Please sign in to comment.