Toggle all checkbox ignores filter leading to entire table being selected instead of only filtered objects #5481

Closed
opened 2025-12-29 19:28:30 +01:00 by adam · 1 comment
Owner

Originally created by @slash-proc on GitHub (Oct 6, 2021).

NetBox version

v.3.0.3

Python version

3.7

Steps to Reproduce

  1. Open Devices (or any other kind of object view that has a filter-able table)
    image

  2. Use filter to reduce number of devices in table
    image

  3. Select "Toggle all" checkbox
    image

  4. Click "Edit selected" and change some setting
    image

Expected Behavior

Only the filtered objects should be affected by any modifications (mass adding components, editing, deleting, or whatever is appropriate for the object in question)

Observed Behavior

All devices from the table's page are modified and not just the filtered devices.
image

Originally created by @slash-proc on GitHub (Oct 6, 2021). ### NetBox version v.3.0.3 ### Python version 3.7 ### Steps to Reproduce 1. Open Devices (or any other kind of object view that has a filter-able table) ![image](https://user-images.githubusercontent.com/33379854/136199467-e26a2d9a-3f0c-4951-8f39-9552b00b1959.png) 2. Use filter to reduce number of devices in table ![image](https://user-images.githubusercontent.com/33379854/136199504-25d0752c-2815-4406-ae04-bebaf70958a8.png) 3. Select "Toggle all" checkbox ![image](https://user-images.githubusercontent.com/33379854/136199520-76e5f8fc-4a0c-46d9-8f5a-b63b283fd224.png) 4. Click "Edit selected" and change some setting ![image](https://user-images.githubusercontent.com/33379854/136200193-7885091e-288e-43fc-bbf2-cac8482e7d02.png) ### Expected Behavior Only the filtered objects should be affected by any modifications (mass adding components, editing, deleting, or whatever is appropriate for the object in question) ### Observed Behavior All devices from the table's page are modified and not just the filtered devices. ![image](https://user-images.githubusercontent.com/33379854/136199759-7f3cdaaa-aedc-453d-95bf-e10ec16e9a87.png)
adam added the type: bugstatus: duplicate labels 2025-12-29 19:28:30 +01:00
adam closed this issue 2025-12-29 19:28:30 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 6, 2021):

This has already been fixed in v3.0.5 under #7427. Please upgrade your installation.

@jeremystretch commented on GitHub (Oct 6, 2021): This has already been fixed in v3.0.5 under #7427. Please upgrade your installation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5481