Bulk rename "Select all XX matching query" only operates on current page #11634

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

Originally created by @jnovinger on GitHub (Sep 18, 2025).

Originally assigned to: @pheus on GitHub.

NetBox Edition

NetBox Community

NetBox Version

v4.4.1

Python Version

3.10

Steps to Reproduce

  1. Navigate to any object list with more items than the pagination limit (e.g., /dcim/devices/ with >25 devices)
  2. Apply filters to get a specific subset of objects (e.g., filter by location, tag, etc.)
  3. Observe that the filter shows "X objects match your query" where X > page size (e.g., 37 objects but only 25 shown per page)
  4. Check the "Select all XX objects matching query" checkbox
  5. Click "Rename Selected" (bulk rename operation)
  6. Proceed through the bulk rename form

Expected Behavior

Bulk rename operation should apply to all XX objects that match the filter query, regardless of pagination.

Observed Behavior

Bulk rename operation only applies to the objects visible on the current page (e.g., only 25 objects instead of all 37 matching objects).

The "Select all XX objects matching query" checkbox promises to select all matching objects across all pages, but the bulk rename operation only processes objects from the current page, ignoring objects on subsequent pages.

Originally created by @jnovinger on GitHub (Sep 18, 2025). Originally assigned to: @pheus on GitHub. ### NetBox Edition NetBox Community ### NetBox Version v4.4.1 ### Python Version 3.10 ### Steps to Reproduce 1. Navigate to any object list with more items than the pagination limit (e.g., `/dcim/devices/` with >25 devices) 2. Apply filters to get a specific subset of objects (e.g., filter by location, tag, etc.) 3. Observe that the filter shows "X objects match your query" where X > page size (e.g., 37 objects but only 25 shown per page) 4. Check the "Select all XX objects matching query" checkbox 5. Click "Rename Selected" (bulk rename operation) 6. Proceed through the bulk rename form ### Expected Behavior Bulk rename operation should apply to all XX objects that match the filter query, regardless of pagination. ### Observed Behavior Bulk rename operation only applies to the objects visible on the current page (e.g., only 25 objects instead of all 37 matching objects). The "Select all XX objects matching query" checkbox promises to select all matching objects across all pages, but the bulk rename operation only processes objects from the current page, ignoring objects on subsequent pages.
adam added the type: bugstatus: acceptednetboxseverity: low labels 2025-12-29 21:47:53 +01:00
adam closed this issue 2025-12-29 21:47:53 +01:00
Author
Owner

@jnovinger commented on GitHub (Sep 18, 2025):

Found while reviewing the PR for #20375 .

@jnovinger commented on GitHub (Sep 18, 2025): Found while reviewing the PR for #20375 .
Author
Owner

@pheus commented on GitHub (Oct 24, 2025):

I'd like to contribute this bugfix. Could you please assign the issue to me? Thanks!

@pheus commented on GitHub (Oct 24, 2025): I'd like to contribute this bugfix. Could you please assign the issue to me? Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11634