Skip to content

IP Range search not working as expected #11601

@zacho112

Description

@zacho112

NetBox version

v3.4.3

Python version

3.11

Steps to Reproduce

  1. Log into https://demo.netbox.dev
  2. Go to IP-Ranges
  3. Search for one of the IP ranges, eg. 192.168.1.50, or simply 192

Expected Behavior

All IP ranges with a matching substring of the search shows, kinda like ?q= works on ip_addresses. (It's the same for the API and pynetbox)

Observed Behavior

No results found.
Search in GUI and ?q= does not show any results at all.
?contains= seems to work when searching for an IP (with /cidr), and URL encodes the /. 192.168.1.66/22 does not work, but 192.168.1.66%2f22 works. But I can't get contains to work via pynetbox.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions