Bug #12707
openWhen adding a device to a group via "Add to group" button, it will remove other groups from the device
100%
Description
Environment details
Staging server 6.4.0
Prerequisites
Enrolled device
created 2 groups (EX: group_1, group_2)
Steps
Go to all device page
select the device
click on "Add to group" button which is at the top of the table.
select a group_1
click on ok
Go to single device page.
click on groups button to see the added groups.
check this list and see the group_1 is there.
now,
Go to all device page
select the device
click on "Add to group" button which is at the top of the table.
select a group_2
click on ok
Note: this time its group_2
now again got single device page and see which groups are related for this device.
it will show as group_2
NOTE: please refer the video [1] for more clear steps
Video is attached with the file section.
Description
When added to a group via "Add to group" button it should add the device to that group without removing device from other groups.
Result
when adding a device via "Add to group" button, it will remove other groups and add only the group selected via "Add to group" button.
Refer the video: [1]
Files
![[3] [3]](/attachments/download/4759/Screenshot%20from%202025-03-26%2017-23-15.png)
![[4] [4]](/attachments/download/4760/Screenshot%20from%202025-03-26%2017-23-25.png)
![[6] [6]](/attachments/download/4793/Screenshot%20from%202025-04-09%2012-43-13.png)