Bulk deletions do not respect filter applied to view #11658

Closed
opened 2025-12-29 21:48:12 +01:00 by adam · 1 comment
Owner

Originally created by @jvalente-salemstate on GitHub (Sep 26, 2025).

NetBox Edition

NetBox Community

NetBox Version

v4.4.1

Python Version

3.12

Steps to Reproduce

  1. Go to the Devices view under DCIM.
  2. Apply a filter
  3. Select "Select all x devices matching query"
  4. Click "Deleted Selected"
  5. Netbox tries to confirm deleting all devices
Image Image

If all devices fit on one page, clicking the checkbox for everything that single page correctly selects the desired devices.

Expected Behavior

Only the selected devices matching the query are deleted.

Observed Behavior

The filter is ignored and all devices are selected.

Originally created by @jvalente-salemstate on GitHub (Sep 26, 2025). ### NetBox Edition NetBox Community ### NetBox Version v4.4.1 ### Python Version 3.12 ### Steps to Reproduce 1. Go to the Devices view under DCIM. 2. Apply a filter 3. Select "Select all x devices matching query" 4. Click "Deleted Selected" 5. Netbox tries to confirm deleting *all* devices <img width="1243" height="292" alt="Image" src="https://github.com/user-attachments/assets/36b01cc7-39d0-4100-a821-fb9cd84328c8" /> <img width="932" height="219" alt="Image" src="https://github.com/user-attachments/assets/5b6d8225-0dc8-4e2e-b484-70df0f29d509" /> If all devices fit on one page, clicking the checkbox for everything that single page correctly selects the desired devices. ### Expected Behavior Only the selected devices matching the query are deleted. ### Observed Behavior The filter is ignored and all devices are selected.
adam added the type: bugstatus: duplicate labels 2025-12-29 21:48:12 +01:00
adam closed this issue 2025-12-29 21:48:12 +01:00
Author
Owner

@jvalente-salemstate commented on GitHub (Sep 27, 2025):

Closing since this seems to be the same issue as #20375, which I somehow missed when searching the first time.

@jvalente-salemstate commented on GitHub (Sep 27, 2025): Closing since this seems to be the same issue as #20375, which I somehow missed when searching the first time.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11658