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 13902,"When using a ManyToMany in list_filter, results may apper more than once",rasca,rasca,"Suppose you have a ManyToMany relationship between models A and B through a model C. If you have more than one entry of C relating the same A and B instances, and in the admin in the model A change_list you are list_filtering by the relationship with B, and filter by the B instance that has more than 1 relation to the same A instance, the A instance appears as many times as there are relationships in the list, when it should appear only once. I'm not sure where to add the .distinct() in admin.views.ChangeList.get_query_set(). We could add it when it returns the final queryset but I'm not sure if that's the most efficient way to do it. We could check to see if it's needed. There's also another .distinct() before but that one only applies to the search field (in case it's needed). Maybe combine these two? ",,closed,contrib.admin,dev,,fixed,admin change_list list_filter manytomany,rasca7@… Carsten Fuchs,Ready for checkin,1,0,0,1,0,0