Skip to content

Commit

Permalink
Fixes #1339: Fixed disappearing checkbox column under django-tables2 …
Browse files Browse the repository at this point in the history
…v1.7+
  • Loading branch information
jeremystretch committed Jul 12, 2017
1 parent e54c74d commit 6f37e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/utilities/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get(self, request):
# Construct the table based on the user's permissions
table = self.table(self.queryset)
if 'pk' in table.base_columns and (permissions['change'] or permissions['delete']):
table.base_columns['pk'].visible = True
table.columns.show('pk')

# Apply the request context
paginate = {
Expand Down

0 comments on commit 6f37e97

Please sign in to comment.