mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #9939: Fix list of next nodes for split paths under trace view
This commit is contained in:
@@ -677,6 +677,6 @@ class CablePath(models.Model):
|
||||
"""
|
||||
Return all available next segments in a split cable path.
|
||||
"""
|
||||
rearport = path_node_to_object(self._nodes[-1])
|
||||
rearports = self.path_objects[-1]
|
||||
|
||||
return FrontPort.objects.filter(rear_port=rearport)
|
||||
return FrontPort.objects.filter(rear_port__in=rearports)
|
||||
|
Reference in New Issue
Block a user