Saved filter doesn't save multiple choice values anymore #7913

Closed
opened 2025-12-29 20:29:55 +01:00 by adam · 0 comments
Owner

Originally created by @dreng on GitHub (Apr 17, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.4.8

Python version

3.9

Steps to Reproduce

  1. Go to Devices
  2. Click tab "Filters"
  3. Choose at least 2 locations and click "Search"
  4. On top of the result list, click "Save"
  5. Notice that there is only one location in the "Parameters" field

Expected Behavior

We get a single string while the behavior in v3.4.6 were to get a list. Either way I'd expect at least 2 values according to the chosen filter settings above, which is not the case.

Observed Behavior

Only one value is shown (and saved afterwards). This happens on the current demo site as well as in my development environment with the current develop branch.

Output of v3.4.6

{
"location_id": [
"33",
"34"
]
}

Output of v.3.4.8

{
"location_id": "34"
}

Originally created by @dreng on GitHub (Apr 17, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.4.8 ### Python version 3.9 ### Steps to Reproduce 1. Go to Devices 2. Click tab "Filters" 3. Choose at least 2 locations and click "Search" 4. On top of the result list, click "Save" 5. Notice that there is only one location in the "Parameters" field ### Expected Behavior We get a single string while the behavior in v3.4.6 were to get a list. Either way I'd expect at least 2 values according to the chosen filter settings above, which is not the case. ### Observed Behavior Only one value is shown (and saved afterwards). This happens on the current demo site as well as in my development environment with the current develop branch. Output of v3.4.6 >{ "location_id": [ "33", "34" ] } Output of v.3.4.8 >{ "location_id": "34" }
adam added the type: bugstatus: accepted labels 2025-12-29 20:29:55 +01:00
adam closed this issue 2025-12-29 20:29:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7913