diff --git a/docs/release-notes/version-3.4.md b/docs/release-notes/version-3.4.md index 83e7751aa..b524176cf 100644 --- a/docs/release-notes/version-3.4.md +++ b/docs/release-notes/version-3.4.md @@ -21,6 +21,7 @@ * [#11403](https://github.com/netbox-community/netbox/issues/11403) - Fix exception when scheduling a job in the past * [#11438](https://github.com/netbox-community/netbox/issues/11438) - Fix deletion of scheduled job using non-default queues * [#11444](https://github.com/netbox-community/netbox/issues/11444) - Adding/removing a device from a device bay should record a pre-change snapshot on the device bay +* [#11467](https://github.com/netbox-community/netbox/issues/11467) - Correct count on interfaces tab when viewing a VC master device --- diff --git a/netbox/dcim/views.py b/netbox/dcim/views.py index 13222313c..794d58d1e 100644 --- a/netbox/dcim/views.py +++ b/netbox/dcim/views.py @@ -1949,7 +1949,7 @@ class DeviceInterfacesView(DeviceComponentsView): template_name = 'dcim/device/interfaces.html' tab = ViewTab( label=_('Interfaces'), - badge=lambda obj: obj.interfaces.count(), + badge=lambda obj: obj.vc_interfaces().count(), permission='dcim.view_interface', weight=520, hide_if_empty=True