Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quickfilter shows wrong available IPs #9663

Closed
PieterL75 opened this issue Jul 5, 2022 · 1 comment
Closed

Quickfilter shows wrong available IPs #9663

PieterL75 opened this issue Jul 5, 2022 · 1 comment
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@PieterL75
Copy link
Contributor

NetBox version

v3.2.4

Python version

3.9

Steps to Reproduce

  1. Create an prefix 172.20.200.0/24
  2. create a number of ip addresses in that prefix
  3. Go to the prefix 172.20.200.0/24 -> ip addresses
  4. enter a value in the QuickFilter that wont match any ip address
    image

Expected Behavior

'Available IP's' should show only the real amount of available ips

Observed Behavior

The list shows 254 available ips
image

@PieterL75 PieterL75 added the type: bug A confirmed report of unexpected behavior in the application label Jul 5, 2022
@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Jul 6, 2022
@jeremystretch
Copy link
Member

'Available IP's' should show only the real amount of available ips

This isn't really feasible without performing an entirely separate query in addition to the primary one. It also seems unnecessary, given that if you're searching for a particular IP, you probably aren't interested in seeing the available IP counts.

What we could do to avoid confusion is simply remove the annotations when filtering is applied.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Aug 25, 2022
@jeremystretch jeremystretch self-assigned this Aug 25, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants