Skip to content

Commit

Permalink
Fix sorting on breakqual table
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbelesky committed May 31, 2020
1 parent ecca4ea commit 9fa23c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tabbycat/breakqual/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ def get_table(self):
table.add_column({'title': bc.name, 'key': bc.slug}, [{
'component': 'check-cell',
'checked': True if bc in team.break_categories.all() else False,
'sort': True if bc in team.break_categories.all() else False,
'id': team.id,
'type': bc.slug,
} for team in teams])
Expand Down

0 comments on commit 9fa23c9

Please sign in to comment.