#33904: Many-To-Many field is deleted/ignored from internal JavaScript “filter”
interface
-------------------------------------+-------------------------------------
               Reporter:  Richard    |          Owner:  nobody
  Saeuberlich                        |
                   Type:  Bug        |         Status:  new
              Component:             |        Version:  4.1
  contrib.admin                      |       Keywords:  javascript, admin,
               Severity:  Normal     |  frontend
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 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]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33904>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701827a634120-351ee644-a988-4cd5-bcec-0c6d13aed332-000000%40eu-central-1.amazonses.com.

Reply via email to