Unable to filter sites by null region #4263

Closed
opened 2025-12-29 18:34:18 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Nov 9, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: 2.9.8

Steps to Reproduce

  1. Create at least one site with no region assigned.
  2. Make a REST API request for GET http://netbox/api/dcim/sites/?region_id=null

Expected Behavior

The response should include all sites with no region assigned.

Observed Behavior

The response is empty.

Originally created by @jeremystretch on GitHub (Nov 9, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.9 * NetBox version: 2.9.8 ### Steps to Reproduce 1. Create at least one site with no region assigned. 2. Make a REST API request for `GET http://netbox/api/dcim/sites/?region_id=null` ### Expected Behavior The response should include all sites with no region assigned. ### Observed Behavior The response is empty.
adam added the type: bugstatus: accepted labels 2025-12-29 18:34:18 +01:00
adam closed this issue 2025-12-29 18:34:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4263