Ability to filter for unnamed devices #710

Closed
opened 2025-12-29 16:24:59 +01:00 by adam · 1 comment
Owner

Originally created by @Armadill0 on GitHub (Feb 13, 2017).

Currently devices which have no name specified can only be found fast by sorting them by name in inverted order. This is ok if there are only a few systems without a name. If their number increases this is getting quite cumbersome.

To enhance this it would be handy if we could get a filter switch to filter for unnamed devices.

Originally created by @Armadill0 on GitHub (Feb 13, 2017). Currently devices which have no name specified can only be found fast by sorting them by name in inverted order. This is ok if there are only a few systems without a name. If their number increases this is getting quite cumbersome. To enhance this it would be handy if we could get a filter switch to filter for unnamed devices.
adam added the type: feature label 2025-12-29 16:24:59 +01:00
adam closed this issue 2025-12-29 16:24:59 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 27, 2017):

Added NullableCharFieldFilter for rack facility IDs, device names and asset tags, and inventory item asset tags. This allows us to filter by, for example, /api/dcim/devices/?name=NULL to return only unnamed devices.

@jeremystretch commented on GitHub (Jul 27, 2017): Added `NullableCharFieldFilter` for rack facility IDs, device names and asset tags, and inventory item asset tags. This allows us to filter by, for example, `/api/dcim/devices/?name=NULL` to return only unnamed devices.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#710