Filtering on null values for rack group filed #5074

Closed
opened 2025-12-29 19:23:50 +01:00 by adam · 1 comment
Owner

Originally created by @Begriche on GitHub (Jul 19, 2021).

NetBox version

v2.9.8

Python version

3.8

Steps to Reproduce

  1. Attempt to filter the racks list by null group value:
    https://netbox/dcim/racks/?group_id=null
    or
    https://netbox/dcim/racks/?group=null

Expected Behavior

Only racks that that are not part of a rack group (i.e group: null)

Observed Behavior

the filter is broken
racks with null group filed are not showed, and only some rack with non-null rack group are showed (3 of 83 in my case)

Originally created by @Begriche on GitHub (Jul 19, 2021). ### NetBox version v2.9.8 ### Python version 3.8 ### Steps to Reproduce 1. Attempt to filter the racks list by null group value: ``` https://netbox/dcim/racks/?group_id=null ``` or ``` https://netbox/dcim/racks/?group=null ``` ### Expected Behavior Only racks that that are not part of a rack group (i.e group: null) ### Observed Behavior the filter is broken racks with null group filed are not showed, and only some rack with non-null rack group are showed (3 of 83 in my case)
adam added the type: bug label 2025-12-29 19:23:50 +01:00
adam closed this issue 2025-12-29 19:23:51 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 21, 2021):

v2.9.8

I'm afraid your NetBox release is very out of date. We only accept bug reports for the latest stable release (which is currently v2.11.9.) I suspect you'll find that this bug has been addressed in a newer release. (In fact, rack groups have been renamed to locations in v2.11, so the filter itself is different now.)

@jeremystretch commented on GitHub (Jul 21, 2021): > v2.9.8 I'm afraid your NetBox release is very out of date. We only accept bug reports for the latest stable release (which is currently v2.11.9.) I suspect you'll find that this bug has been addressed in a newer release. (In fact, rack groups have been renamed to locations in v2.11, so the filter itself is different now.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5074