editing selection of devices via quick search #9909

Closed
opened 2025-12-29 21:24:15 +01:00 by adam · 4 comments
Owner

Originally created by @GeertReijnders on GitHub (Jun 26, 2024).

Originally assigned to: @arthanson on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.0.5

Python Version

3.12

Steps to Reproduce

  1. Click on devices

  2. type your searchwords in quick search

  3. click Select all ... devices matching query
    image

  4. click edit selected devices

  5. 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.
    image

Expected Behavior

I would expect that only the devices I searched for should be edited.

Observed Behavior

All devices were selected.

Originally created by @GeertReijnders on GitHub (Jun 26, 2024). Originally assigned to: @arthanson on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.0.5 ### Python Version 3.12 ### Steps to Reproduce 1. Click on devices 2. type your searchwords in quick search 3. click Select all ... devices matching query ![image](https://github.com/netbox-community/netbox/assets/30795671/a17684c5-03bc-43f3-a829-8d45673b68fc) 4. click edit selected devices 5. 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. ![image](https://github.com/netbox-community/netbox/assets/30795671/e910ec92-f344-43b2-8b10-d6999c320228) ### Expected Behavior I would expect that only the devices I searched for should be edited. ### Observed Behavior All devices were selected.
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 21:24:15 +01:00
adam closed this issue 2025-12-29 21:24:16 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 26, 2024):

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.

@jeremystretch commented on GitHub (Jun 26, 2024): 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.
Author
Owner

@Julio-Oliveira-Encora commented on GitHub (Jun 28, 2024):

Could you please assign it to me?

@Julio-Oliveira-Encora commented on GitHub (Jun 28, 2024): Could you please assign it to me?
Author
Owner

@arthanson commented on GitHub (Jul 10, 2024):

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.

@arthanson commented on GitHub (Jul 10, 2024): 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.
Author
Owner

@talbers-ocient commented on GitHub (Aug 2, 2024):

Just ran into this. Nice find!

@talbers-ocient commented on GitHub (Aug 2, 2024): Just ran into this. Nice find!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9909