Bulk edit in filters only edits visible objects #10985

Closed
opened 2025-12-29 21:38:48 +01:00 by adam · 2 comments
Owner

Originally created by @mhdask on GitHub (Apr 4, 2025).

Deployment Type

Self-hosted

NetBox Version

v4.2.3

Python Version

3.12

Steps to Reproduce

  1. Filter objects based on something (e.g. Interfaces filtered on specific device)
  2. Press the top checkbox to select everything visible
  3. Press the option popping up "Select all x objects matching query"
  4. Press edit selected (will show correctly that x amount of objects were selected)
  5. Edit something (e.g. description for interface)
  6. See that only the visible amount of objects were edited (i.e. if you only display 25 objects per. page, only 25 objects will be edited)

Image

Image

Image

These pictures are from demo.netbox.dev, where the problem also exists

Expected Behavior

I would expect that the number of selected objects would be edited

Observed Behavior

Only the visible amount of objects is edited

Originally created by @mhdask on GitHub (Apr 4, 2025). ### Deployment Type Self-hosted ### NetBox Version v4.2.3 ### Python Version 3.12 ### Steps to Reproduce 1. Filter objects based on something (e.g. Interfaces filtered on specific device) 2. Press the top checkbox to select everything visible 3. Press the option popping up "Select all x objects matching query" 4. Press edit selected (will show correctly that x amount of objects were selected) 5. Edit something (e.g. description for interface) 6. See that only the visible amount of objects were edited (i.e. if you only display 25 objects per. page, only 25 objects will be edited) ![Image](https://github.com/user-attachments/assets/cb75fd0f-4c33-409b-bd0a-2630dc9e911f) ![Image](https://github.com/user-attachments/assets/4dc499f5-f66e-4186-91f8-45ec191c1296) ![Image](https://github.com/user-attachments/assets/847d135c-3dec-4034-a2f8-ac185188a0bf) These pictures are from demo.netbox.dev, where the problem also exists ### Expected Behavior I would expect that the number of selected objects would be edited ### Observed Behavior Only the visible amount of objects is edited
adam added the type: bug label 2025-12-29 21:38:48 +01:00
adam closed this issue 2025-12-29 21:38:48 +01:00
Author
Owner

@antoinekh commented on GitHub (Apr 4, 2025):

Fixed here https://github.com/netbox-community/netbox/pull/18997

@antoinekh commented on GitHub (Apr 4, 2025): Fixed here https://github.com/netbox-community/netbox/pull/18997
Author
Owner

@jnovinger commented on GitHub (Apr 4, 2025):

Confirmed what @antoinekh said, this is already fixed by #18997 in the main branch. This will be part of the 4.2.7 release.

@jnovinger commented on GitHub (Apr 4, 2025): Confirmed what @antoinekh said, this is already fixed by #18997 in the `main` branch. This will be part of the 4.2.7 release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10985