Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dreng opened this issue Apr 17, 2023 · 0 comments
Closed

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

dreng opened this issue Apr 17, 2023 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@dreng
Copy link
Contributor

dreng commented Apr 17, 2023

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"
}

@dreng dreng added the type: bug A confirmed report of unexpected behavior in the application label Apr 17, 2023
@jeremystretch jeremystretch self-assigned this Apr 19, 2023
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Apr 19, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants