Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Fixed validation in change device group admin action #762 #774

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

pandafy
Copy link
Member

@pandafy pandafy commented Jun 5, 2023

Closes #762

@pandafy pandafy force-pushed the issues/772-command-response branch from 90bc8f7 to 08a42c2 Compare June 5, 2023 04:36
@coveralls
Copy link

coveralls commented Jun 5, 2023

Coverage Status

coverage: 99.132% (-0.04%) from 99.17% when pulling 6aa433a on issues/772-command-response into 2d21f42 on master.

openwisp_controller/config/admin.py Outdated Show resolved Hide resolved
# which is managed by the user.
org_id = None
if queryset:
org_id = queryset[0].organization_id
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use the organization of the group here instead of doing this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the form is rendered, there won't be any group selected. Hence, I used this.

@pandafy pandafy force-pushed the issues/772-command-response branch from 08a42c2 to 6aa433a Compare June 6, 2023 08:23
@nemesifier nemesifier merged commit 6adafe3 into master Jun 7, 2023
@nemesifier nemesifier deleted the issues/772-command-response branch June 7, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Change device group admin action allows to select groups of other organizations
3 participants