mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #8658: Fix display of assigned components under inventory item lists
This commit is contained in:
@ -150,6 +150,7 @@ Where it is desired to limit the range of available VLANs within a group, users
|
||||
|
||||
### Bug Fixes (From Beta2)
|
||||
|
||||
* [#8658](https://github.com/netbox-community/netbox/issues/8658) - Fix display of assigned components under inventory item lists
|
||||
* [#8838](https://github.com/netbox-community/netbox/issues/8838) - Fix FieldError exception during global search
|
||||
* [#8845](https://github.com/netbox-community/netbox/issues/8845) - Correct default ASN formatting in table
|
||||
* [#8869](https://github.com/netbox-community/netbox/issues/8869) - Fix NoReverseMatch exception when displaying tag w/assignments
|
||||
|
@ -772,7 +772,6 @@ class InventoryItemTable(DeviceComponentTable):
|
||||
linkify=True
|
||||
)
|
||||
component = tables.Column(
|
||||
accessor=Accessor('component'),
|
||||
orderable=False,
|
||||
linkify=True
|
||||
)
|
||||
|
@ -545,7 +545,7 @@ class ComponentCreateView(GetReturnURLMixin, BaseObjectView):
|
||||
|
||||
def get(self, request):
|
||||
form, model_form = self.initialize_forms(request)
|
||||
instance = self.alter_object(self.queryset.model, request)
|
||||
instance = self.alter_object(self.queryset.model(), request)
|
||||
|
||||
return render(request, self.template_name, {
|
||||
'object': instance,
|
||||
@ -557,7 +557,7 @@ class ComponentCreateView(GetReturnURLMixin, BaseObjectView):
|
||||
def post(self, request):
|
||||
logger = logging.getLogger('netbox.views.ComponentCreateView')
|
||||
form, model_form = self.initialize_forms(request)
|
||||
instance = self.alter_object(self.queryset.model, request)
|
||||
instance = self.alter_object(self.queryset.model(), request)
|
||||
|
||||
if form.is_valid():
|
||||
new_components = []
|
||||
|
Reference in New Issue
Block a user