#36365: Admin filter_horziontal with formfield_for_manytomany hides existing
records
-------------------------------------+-------------------------------------
     Reporter:  Ramon                |                     Type:  Bug
       Status:  new                  |                Component:
                                     |  contrib.admin
      Version:  4.2                  |                 Severity:  Normal
     Keywords:  admin,               |             Triage Stage:
  filter_horizontal                  |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 Django admin filter_horizontal for manytomany field should show all
 existing relations in the right-side pane, even when
 formfield_for_manytomany updates the queryset to not show that relation in
 the left-side pane. It is misleading to the user to not show the existing
 relation.

 Working example attached.
 Database: club, member, team.
 member and team belong to one club
 team consists of members
 member can transfer to another club, causing the issue.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36365>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019697d0fd37-55facb7b-3e1b-4130-97a9-dc27283534bd-000000%40eu-central-1.amazonses.com.

Reply via email to