Skip to content

Select all -> edit selected on filtered objects causes unwanted objects to be modified #7427

@ziggekatten

Description

@ziggekatten

NetBox version

v3.0.4

Python version

3.9

Steps to Reproduce

In Other->Tags, create a tag with name Test
In DCIM -> Devices, add five devices of any kind with name: Bob-1 to Bob-5
In DCIM -> Devices, add five devices of any kind with name: Gupta-1 to Gupta-5
In the DCIM->Device list, select the Filter field ant type in "Gupta"
When the "Gupta" devices have been filtered out, click the tickbox "Name" (toggle all) to select all
Click edit selected
Add the Test tag to the objects an press apply
In the DCIM->Devices, now remove the filter

Expected Behavior

Only the filtered objects with name "Gupta" should have been modified with the tag Test

Observed Behavior

All objects are modified and have the tag Test applied, including Bob-1 to 5

Metadata

Metadata

Assignees

Labels

type: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions