mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-15 19:52:52 -06:00
* change IP address accessor to parent object * set IP assigned check to link to interface * Fix Assigned not being orderable Co-authored-by: Jeremy Stretch <jstretch@ns1.com> Co-authored-by: Craig Pund <cpund@iuhealth.org> Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
This commit is contained in:
parent
f60312febf
commit
53c9c3cf8d
@ -375,7 +375,7 @@ class IPAddressTable(TenancyColumnsMixin, NetBoxTable):
|
||||
)
|
||||
assigned = columns.BooleanColumn(
|
||||
accessor='assigned_object_id',
|
||||
linkify=True,
|
||||
linkify=lambda record: record.assigned_object.get_absolute_url(),
|
||||
verbose_name='Assigned'
|
||||
)
|
||||
tags = columns.TagColumn(
|
||||
|
Loading…
Reference in New Issue
Block a user