netbox
netbox copied to clipboard
`X IPs available` sorting not resetable from `IPAM -> Prefixes -> (prefix) -> IP Addresses` menu
NetBox version
v3.2.2
Python version
3.8
Steps to Reproduce
- Go to
IPAM -> Prefixes -> (prefix) -> IP Addresses - Resort table by any of columns
Expected Behavior
X IPs available should be above/below/in-middle where needed.
Observed Behavior
X IPs available now are sorted like standard entries and are always positioned above/below in ip list. And there is no way to reset this view from this table.

Note: There is a work around suggested by Simon T to clear table preferences for IPAddressTable in /user/preferences/. Which will return this table to default sorting with X IPs available positioned correctly.
The fix here would seem to be to remove the available IP annotations entirely when ordering by an attribute other than IP address.
Another workaround would be to manually edit the URL and enter a value after "sort" that does not correspond to any column as stated here.
A simple fix could be to add a button or textlink pointing to /ipam/prefixes/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.