Ver Fonte

Fixes #7857: Fix ordering IP addresses by assignment status

jeremystretch há 4 anos atrás
pai
commit
94069e76c9
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 0
      docs/release-notes/version-3.0.md
  2. 1 1
      netbox/ipam/tables/ip.py

+ 1 - 0
docs/release-notes/version-3.0.md

@@ -16,6 +16,7 @@
 * [#7739](https://github.com/netbox-community/netbox/issues/7739) - Fix exception when tracing cable across circuit with no far end termination
 * [#7813](https://github.com/netbox-community/netbox/issues/7813) - Fix handling of errors during export template rendering
 * [#7851](https://github.com/netbox-community/netbox/issues/7851) - Add missing cluster name filter for virtual machines
+* [#7857](https://github.com/netbox-community/netbox/issues/7857) - Fix ordering IP addresses by assignment status
 
 ---
 

+ 1 - 1
netbox/ipam/tables/ip.py

@@ -323,7 +323,7 @@ class IPAddressTable(BaseTable):
         verbose_name='NAT (Inside)'
     )
     assigned = BooleanColumn(
-        accessor='assigned_object',
+        accessor='assigned_object_id',
         linkify=True,
         verbose_name='Assigned'
     )