Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix netbox-community#12983 bulk edit of M2M fields when nothing is se…
…lected Partially revert 41c9248 to restore bulk edit with m2m fields. The m2m cleaned_data yields a empty queryset when nothing is selected. By setting the m2m relation unless set null is checked even when nothing is selected the m2m relation is always cleared. This commit only sets the m2m relation when a selection is made.
- Loading branch information