Pārlūkot izejas kodu

#4634 - Correct inventory item table accessor definition on manufacturer column

Daniel Sheppard 5 gadi atpakaļ
vecāks
revīzija
fd0be35d99
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 1 0
      docs/release-notes/version-2.8.md
  2. 1 1
      netbox/dcim/tables.py

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

@@ -12,6 +12,7 @@ v2.8.4 (FUTURE)
 * [#4604](https://github.com/netbox-community/netbox/issues/4604) - Multi-position rear ports may only be connected to other rear ports
 * [#4604](https://github.com/netbox-community/netbox/issues/4604) - Multi-position rear ports may only be connected to other rear ports
 * [#4607](https://github.com/netbox-community/netbox/issues/4607) - Missing Contextual help for API Tokens
 * [#4607](https://github.com/netbox-community/netbox/issues/4607) - Missing Contextual help for API Tokens
 * [#4633](https://github.com/netbox-community/netbox/issues/4633) - Bump django-rq to v2.3.2 to fix ImportError with rq 1.4.0
 * [#4633](https://github.com/netbox-community/netbox/issues/4633) - Bump django-rq to v2.3.2 to fix ImportError with rq 1.4.0
+* [#4634](https://github.com/netbox-community/netbox/issues/4634) - Inventory Item List view exception caused by incorrect accessor definition 
 
 
 ---
 ---
 
 

+ 1 - 1
netbox/dcim/tables.py

@@ -1195,7 +1195,7 @@ class InventoryItemTable(BaseTable):
         args=[Accessor('device.pk')]
         args=[Accessor('device.pk')]
     )
     )
     manufacturer = tables.Column(
     manufacturer = tables.Column(
-        accessor=Accessor('manufacturer.name')
+        accessor=Accessor('manufacturer')
     )
     )
     discovered = BooleanColumn()
     discovered = BooleanColumn()