netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.38k stars 2.49k forks source link

"None" filter selection gets lost on adjustment of filter #15971

Open ITJamie opened 2 months ago

ITJamie commented 2 months ago

Deployment Type

Self-hosted

NetBox Version

v4.0-beta2

Python Version

3.11

Steps to Reproduce

  1. Goto devices
  2. Goto Filters tab
  3. Under Tenant select None and another tenant
  4. Trigger Search
  5. Goto Filters tab
  6. note that the "None" selection is no longer selected under the tenant type. adjusting anything else on the search form will trigger a search without "None" being selected anymore.

Expected Behavior

Filters which can be configured in the UI should not be lost when updating the search params through the ui

Observed Behavior

None filter is lost when updating the filter query through the UI

ITJamie commented 2 months ago

(note this has been an issue for awhile. it was not introduced as part of the v4 changes)

Julio-Oliveira-Encora commented 1 month ago

Could you please assign it to me?