﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33904	Many-To-Many field is deleted/ignored from internal JavaScript “filter” interface	Richard Saeuberlich	nobody	"As the summary says. This happens if you use one of the built in Many-To-Many filters ([https://docs.djangoproject.com/en/4.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.filter_horizontal]). Both filters (horizontal & vertical) provoke this behavior. If you don't use any of the filters, everything works as expected. Same goes for Django version smaller than 4.1.

Therefore, I don't think this is a backend problem. I think the JavaScript wasn't updated with all necesary changes from v.4.1. Or maybe there is a problem with the template engine?!?

Finally, a minimalist project for error reproduction: [https://github.com/aDramaQueen/django-many-to-many-error]"	Bug	closed	contrib.admin	4.1	Normal	fixed	javascript, admin, frontend	Carsten Fuchs	Unreviewed	0	0	0	0	0	0
