Multiple select custom fields are not searchable #8646

Closed
opened 2025-12-29 20:39:17 +01:00 by adam · 1 comment
Owner

Originally created by @amulheirn on GitHub (Sep 19, 2023).

NetBox version

v3.6.1

Python version

3.8

Steps to Reproduce

  1. Create a choice set
  2. Create a custom field which applies to dcim | rack
  3. Pick the choice set created in step 1
  4. Pick a rack, edit and apply one of the choices
  5. Try to search for the name of the choice using the top search bar - results list will be empty
  6. Change the custom field to 'text'
  7. Try to search for the text string, and valid results will be returned.

Expected Behavior

It is expected that searching using the top search box will return hits for multiple select values.

Observed Behavior

No results are returned by the search if the custom field is multiple select.
If the custom field is text, then search works as expected

Originally created by @amulheirn on GitHub (Sep 19, 2023). ### NetBox version v3.6.1 ### Python version 3.8 ### Steps to Reproduce 1. Create a choice set 2. Create a custom field which applies to dcim | rack 3. Pick the choice set created in step 1 4. Pick a rack, edit and apply one of the choices 5. Try to search for the name of the choice using the top search bar - results list will be empty 6. Change the custom field to 'text' 7. Try to search for the text string, and valid results will be returned. ### Expected Behavior It is expected that searching using the top search box will return hits for multiple select values. ### Observed Behavior No results are returned by the search if the custom field is multiple select. If the custom field is text, then search works as expected
adam closed this issue 2025-12-29 20:39:17 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 19, 2023):

This is intended behavior. Please see #13579 for a related feature request.

@jeremystretch commented on GitHub (Sep 19, 2023): This is intended behavior. Please see #13579 for a related feature request.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8646