editing selection of devices via quick search
Deployment Type
Self-hosted
NetBox Version
v4.0.5
Python Version
3.12
Steps to Reproduce
-
Click on devices
-
type your searchwords in quick search
-
click Select all ... devices matching query
-
click edit selected devices
-
At the left upper corner you will see another amount of devices which are going to be edited. In the selected devices tab you will see other devices selected than you searched for.
Expected Behavior
I would expect that only the devices I searched for should be edited.
Observed Behavior
All devices were selected.
The bulk form target URL needs to be updated when the quicksearch value is updated, to ensure that ?q=foo is passed along as a query parameter to the bulk edit/delete view.
Could you please assign it to me?
Issue is in object_list.html the bulk-edit buttons are outside the table htmx so request.GET is the original page params and not from the htmx updates.
Just ran into this. Nice find!