Custom field filters missing for cables, rack reservations #4562

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

Originally created by @proudbro on GitHub (Feb 12, 2021).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: 2.10.4

Steps to Reproduce

  1. Create Custom Field for Cables. Name "Test", type "Selection" or "Boolean"
  2. Choose Filter logic "Exact" or "Loose" for Custom Field
  3. Go to Cable List (Devices -> Cables)

Expected Behavior

Among the list of filters on the right panel we see created Custom Filed "Test" as it how is it done for Racks for example.

Observed Behavior

There is no new filter by Custom Field "Test". This behavior is also possible for other objects

Originally created by @proudbro on GitHub (Feb 12, 2021). Originally assigned to: @jeremystretch on GitHub. <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reporting reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, please start a discussion instead: https://github.com/netbox-community/netbox/discussions Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report, and that any plugins have been disabled. --> ### Environment * Python version: 3.6.9 * NetBox version: 2.10.4 <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox. Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a client library such as pynetbox. --> ### Steps to Reproduce 1. Create Custom Field for Cables. Name "Test", type "Selection" or "Boolean" 2. Choose Filter logic "Exact" or "Loose" for Custom Field 3. Go to Cable List (Devices -> Cables) ### Expected Behavior Among the list of filters on the right panel we see created Custom Filed "Test" as it how is it done for Racks for example. <!-- What happened instead? --> ### Observed Behavior There is no new filter by Custom Field "Test". This behavior is also possible for other objects
adam added the type: bugstatus: accepted labels 2025-12-29 18:37:37 +01:00
adam closed this issue 2025-12-29 18:37:37 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 12, 2021):

  1. Create Custom Field for Cables. Name "Test"

What kind of custom field are you creating?

  1. Choose Filter logic for Custom Field

What filter logic did you choose?

Please revise your bug report to be more detailed.

@jeremystretch commented on GitHub (Feb 12, 2021): > 1. Create Custom Field for Cables. Name "Test" What kind of custom field are you creating? > 2. Choose Filter logic for Custom Field What filter logic did you choose? Please revise your bug report to be more detailed.
Author
Owner

@proudbro commented on GitHub (Feb 16, 2021):

@jeremystretch , I updated description above

@proudbro commented on GitHub (Feb 16, 2021): @jeremystretch , I updated description above
Author
Owner

@joaolucasmacedo commented on GitHub (Feb 16, 2021):

Environment
Python version: 3.6.9
NetBox version: 2.10.4
and NetBox version: 2.9.9

I have some custom fields and I can see and filter them only in Clusters and Devices page.
I have a "Boolean" custom field on circuit objects and some others on sites like "Type", "Integer" and "Date". But I can't filter sites or circuits using them.

NetBox cf Clusters

NetBox cf Devices

Also, custom fields are not available on "Table Configuration" to select the columns that shows up.
By the way, I have to create custom fields to store the physical disk, memory and CPU cores available on clusters. It would be nice if NetBox take it into account according to the VMs associated with that cluster.

@joaolucasmacedo commented on GitHub (Feb 16, 2021): Environment Python version: 3.6.9 NetBox version: 2.10.4 and NetBox version: 2.9.9 I have some custom fields and I can see and filter them only in Clusters and Devices page. I have a "Boolean" custom field on circuit objects and some others on sites like "Type", "Integer" and "Date". But I can't filter sites or circuits using them. ![NetBox cf Clusters](https://user-images.githubusercontent.com/66760118/108069758-7bacb280-7042-11eb-8015-f6ab1f461326.png) ![NetBox cf Devices](https://user-images.githubusercontent.com/66760118/108069782-82d3c080-7042-11eb-9c35-d605fca9abaa.png) Also, custom fields are not available on "Table Configuration" to select the columns that shows up. By the way, I have to create custom fields to store the physical disk, memory and CPU cores available on clusters. It would be nice if NetBox take it into account according to the VMs associated with that cluster.
Author
Owner

@proudbro commented on GitHub (Apr 13, 2021):

No, it doesn't work.
The filter appeared after updating v.2.10.9 and i see it in URL but cables are not filtered.
Should I open new bug?

@proudbro commented on GitHub (Apr 13, 2021): No, it doesn't work. The filter appeared after updating v.2.10.9 and i see it in URL but cables are not filtered. Should I open new bug?
Author
Owner

@jeremystretch commented on GitHub (Apr 13, 2021):

I've opened #6152 for the above.

@jeremystretch commented on GitHub (Apr 13, 2021): I've opened #6152 for the above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4562