Edit and delete buttons behavior when check all items on selecting multiple item with several page #8455

Closed
opened 2025-12-29 20:36:59 +01:00 by adam · 0 comments
Owner

Originally created by @Zeawiel on GitHub (Aug 11, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.5.7

Python version

3.11

Steps to Reproduce

On demo instance:

  1. Go on cable list page
  2. Selection less item by page than the total number of cable (eg 50, the list is 108 cables)
  3. Tick the checkbox to select all item on the top row.
  4. The box "Select all 108 cables matching query" appears with edit and delete buttons activated (if clicked, edit or delete only 50 items)
  5. Tick the box "Select all 108 cables matching query", button are still activated (if clicked, edit or delete all 108 items)
  6. Untick the box "Select all 108 cables matching query", button are deactivated.

This applies to all kind of list. Not only cables.

Expected Behavior

The behavior should be the same:

  1. The edit and delete button should be activated all the time
  2. The edit and delete button should be activated only when the checkbox select all is selected.

Observed Behavior

The first time the box appears, the button are activated where they should not, if we take in consideration the action that is applies when we untick the box.

Originally created by @Zeawiel on GitHub (Aug 11, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.5.7 ### Python version 3.11 ### Steps to Reproduce On demo instance: 1. Go on cable list page 2. Selection less item by page than the total number of cable (eg 50, the list is 108 cables) 3. Tick the checkbox to select all item on the top row. 4. The box "Select all 108 cables matching query" appears with edit and delete buttons activated (if clicked, edit or delete only 50 items) 5. Tick the box "Select all 108 cables matching query", button are still activated (if clicked, edit or delete all 108 items) 6. Untick the box "Select all 108 cables matching query", button are deactivated. This applies to all kind of list. Not only cables. ### Expected Behavior The behavior should be the same: 1. The edit and delete button should be activated all the time 2. The edit and delete button should be activated only when the checkbox select all is selected. ### Observed Behavior The first time the box appears, the button are activated where they should not, if we take in consideration the action that is applies when we untick the box.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:36:59 +01:00
adam closed this issue 2025-12-29 20:36:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8455