diff --git a/netbox/utilities/views.py b/netbox/utilities/views.py index 055f9fbba..3dec16e7a 100644 --- a/netbox/utilities/views.py +++ b/netbox/utilities/views.py @@ -123,7 +123,7 @@ class ObjectListView(View): # 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 = {