netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.77k stars 2.54k forks source link

Enable filtering objects by assigned custom fields #14465

Open Taz86 opened 9 months ago

Taz86 commented 9 months ago

NetBox version

v3.6.6

Python version

3.11

Steps to Reproduce

Created custom Field Added custom Field to Devices and Virtual Machines You can see the number of objects that have this Custom field in use, but you cannot click them to show them. Maybe this is because they are not searchable (as discussed in https://github.com/netbox-community/netbox/issues/13579)

Expected Behavior

Objects are clickable so you can see reference objects

Observed Behavior

Not clickable

jeremystretch commented 9 months ago

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

Taz86 commented 9 months ago

Hi,

Sorry, ill be more thorough.

Create Custom Field Choices

Create custom field:

Create Device

Custom Fields

When checking custom fields after adding *.foo.bar to the test device I can see in Related Objects "Devices 1" but I cannot click on it.

Hope this clarifies it a bit

jeremystretch commented 9 months ago

Blocked by #11538, as it's not currently possible to filter for non-empty custom selection fields.

jeremystretch commented 8 months ago

Reclassifying this as a feature request.