Skip to content

Commit

Permalink
Apply fix to VLAN ranges as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Sep 13, 2023
1 parent 70e1802 commit eb89d2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion netbox/ipam/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,9 @@ def get_children(self, request, parent):
)

def prep_table_data(self, request, queryset, parent):
return add_available_vlans(parent.get_child_vlans(), parent)
if not get_table_ordering(request, self.table):
return add_available_vlans(parent.get_child_vlans(), parent)
return queryset


#
Expand Down

0 comments on commit eb89d2b

Please sign in to comment.