Skip to content

Commit eb89d2b

Browse files
committed
Apply fix to VLAN ranges as well
1 parent 70e1802 commit eb89d2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

netbox/ipam/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,9 @@ def get_children(self, request, parent):
952952
)
953953

954954
def prep_table_data(self, request, queryset, parent):
955-
return add_available_vlans(parent.get_child_vlans(), parent)
955+
if not get_table_ordering(request, self.table):
956+
return add_available_vlans(parent.get_child_vlans(), parent)
957+
return queryset
956958

957959

958960
#

0 commit comments

Comments
 (0)