mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
This commit is contained in:
parent
2bfb9f4ed0
commit
dc8267d890
@ -66,6 +66,9 @@ class BaseTable(tables.Table):
|
|||||||
if column.visible:
|
if column.visible:
|
||||||
model = getattr(self.Meta, 'model')
|
model = getattr(self.Meta, 'model')
|
||||||
accessor = column.accessor
|
accessor = column.accessor
|
||||||
|
if accessor.startswith('custom_field_data__'):
|
||||||
|
# Ignore custom field references
|
||||||
|
continue
|
||||||
prefetch_path = []
|
prefetch_path = []
|
||||||
for field_name in accessor.split(accessor.SEPARATOR):
|
for field_name in accessor.split(accessor.SEPARATOR):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user