mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #4455: Fix ordering of prefixes beneath aggregate when available space is hidden
This commit is contained in:
@@ -327,6 +327,8 @@ class AggregateView(PermissionRequiredMixin, View):
|
||||
prefix__net_contained_or_equal=str(aggregate.prefix)
|
||||
).prefetch_related(
|
||||
'site', 'role'
|
||||
).order_by(
|
||||
'prefix'
|
||||
).annotate_depth(
|
||||
limit=0
|
||||
)
|
||||
|
Reference in New Issue
Block a user