diff --git a/docs/release-notes/version-3.3.md b/docs/release-notes/version-3.3.md index f45b9c5df..70e868c49 100644 --- a/docs/release-notes/version-3.3.md +++ b/docs/release-notes/version-3.3.md @@ -11,6 +11,7 @@ ### Bug Fixes +* [#9328](https://github.com/netbox-community/netbox/issues/9328) - Hide available IPs when non-default ordering is applied * [#9895](https://github.com/netbox-community/netbox/issues/9895) - Various corrections to OpenAPI spec * [#9962](https://github.com/netbox-community/netbox/issues/9962) - SSO login should respect `next` URL query parameter * [#9963](https://github.com/netbox-community/netbox/issues/9963) - Fix support for custom `CSRF_COOKIE_NAME` value diff --git a/netbox/ipam/views.py b/netbox/ipam/views.py index 185154ffb..04d07e356 100644 --- a/netbox/ipam/views.py +++ b/netbox/ipam/views.py @@ -526,9 +526,8 @@ class PrefixIPAddressesView(generic.ObjectChildrenView): return parent.get_child_ips().restrict(request.user, 'view').prefetch_related('vrf', 'tenant', 'tenant__group') def prep_table_data(self, request, queryset, parent): - if not request.GET.get('q'): + if not request.GET.get('q') and not request.GET.get('sort'): return add_available_ipaddresses(parent.prefix, queryset, parent.is_pool) - return queryset def get_extra_context(self, request, instance):