Disable sorting by object_repr on ObjectChangeTable

This commit is contained in:
kkthxbye-code 2022-12-08 12:02:10 +01:00 committed by Jeremy Stretch
parent 780997a568
commit 0cacac82ee

View File

@ -195,7 +195,8 @@ class ObjectChangeTable(NetBoxTable):
object_repr = tables.TemplateColumn(
accessor=tables.A('changed_object'),
template_code=OBJECTCHANGE_OBJECT,
verbose_name='Object'
verbose_name='Object',
orderable=False
)
request_id = tables.TemplateColumn(
template_code=OBJECTCHANGE_REQUEST_ID,