Circuit Providers filter prefiled with Site #2405

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

Originally created by @jbakklund on GitHub (Feb 22, 2019).

The Circuit Providers search filter should be blank by default.

Environment

  • Python version: 3.5.3
  • NetBox version: 2.5.7

Steps to Reproduce

  1. Go to Organization > Sites and make sure that there is at least one site registered
  2. Go to Circuits > Providers

Expected Behavior

The search form should be blank by default.

Observed Behavior

The search form input field for 'Site' show you the name of the site that comes first alphabetically. This issue seems to have some similarity to issue #2912.

Originally created by @jbakklund on GitHub (Feb 22, 2019). The Circuit Providers search filter should be blank by default. ### Environment * Python version: 3.5.3 * NetBox version: 2.5.7 ### Steps to Reproduce 1. Go to Organization > Sites and make sure that there is at least one site registered 2. Go to Circuits > Providers ### Expected Behavior The search form should be blank by default. ### Observed Behavior The search form input field for 'Site' show you the name of the site that comes first alphabetically. This issue seems to have some similarity to issue #2912.
adam added the type: bugstatus: accepted labels 2025-12-29 17:25:47 +01:00
adam closed this issue 2025-12-29 17:25:47 +01:00
Author
Owner

@DanSheps commented on GitHub (Feb 22, 2019):

Took a look at this, and there are a couple ways this could be fixed:

  • Add null_label='' to the FilterChoiceField
  • Change it to a APIMultipleSelect

When looking at this, I also found a few forms that aren't using Select2.

@DanSheps commented on GitHub (Feb 22, 2019): Took a look at this, and there are a couple ways this could be fixed: * Add null_label='' to the FilterChoiceField * Change it to a APIMultipleSelect When looking at this, I also found a few forms that aren't using Select2.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2405