File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44
55### Enhancements
66
7+ * [ #6930 ] ( https://github.com/netbox-community/netbox/issues/6930 ) - Add an optional "ID" column to all tables
78* [ #7668 ] ( https://github.com/netbox-community/netbox/issues/7668 ) - Add "view elevations" button to location view
89
910### Bug Fixes
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ class CircuitTable(BaseTable):
101101 pk = ToggleColumn ()
102102 cid = tables .Column (
103103 linkify = True ,
104- verbose_name = 'ID'
104+ verbose_name = 'Circuit ID'
105105 )
106106 provider = tables .Column (
107107 linkify = True
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ class BaseTable(tables.Table):
2323
2424 :param user: Personalize table display for the given user (optional). Has no effect if AnonymousUser is passed.
2525 """
26+ id = tables .Column (
27+ linkify = True ,
28+ verbose_name = 'ID'
29+ )
2630
2731 class Meta :
2832 attrs = {
@@ -133,11 +137,6 @@ def objects_count(self):
133137 self ._objects_count = sum (1 for obj in self .data if hasattr (obj , 'pk' ))
134138 return self ._objects_count
135139
136- id = tables .Column (
137- linkify = True ,
138- verbose_name = 'ID'
139- )
140-
141140
142141#
143142# Table columns
You can’t perform that action at this time.
0 commit comments