mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 05:21:55 -06:00
Fixes #5597: Fix ordering devices by primary IP address
This commit is contained in:
parent
e9d888bf63
commit
1e1e2d5f54
@ -9,6 +9,7 @@
|
||||
### Bug Fixes
|
||||
|
||||
* [#5584](https://github.com/netbox-community/netbox/issues/5584) - Restore power utilization panel under device view
|
||||
* [#5597](https://github.com/netbox-community/netbox/issues/5597) - Fix ordering devices by primary IP address
|
||||
|
||||
---
|
||||
|
||||
|
@ -129,6 +129,7 @@ class DeviceTable(BaseTable):
|
||||
)
|
||||
primary_ip = tables.Column(
|
||||
linkify=True,
|
||||
order_by=('primary_ip6', 'primary_ip4'),
|
||||
verbose_name='IP Address'
|
||||
)
|
||||
primary_ip4 = tables.Column(
|
||||
|
Loading…
Reference in New Issue
Block a user