﻿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
33024	filter_horizontal doesn't use full height when in collapsed fieldset	Peter Tillema	Shubh Parmar	"Say you have a field `field` in model `X`, which is a `ManyToMany` field. You can use `filter_horizontal` in the `ModelAdmin` to display the available and selected options. However, if you use `filter_horizontal` in combination with a fieldset which is collapsed by default, it won't take the full height.

Example:

{{{
#!python
@admin.register(X)
class XAdmin(admin.ModelAdmin):
    list_display = ('a', 'b', 'c', 'field')
    filter_horizontal = ('field',)
    
    fieldsets = (
        (None, {
            'fields': ('a', 'b', 'c')
        }),
        ('Other', {
            'classes': ('collapse',),
            'fields': ('field',)
        })
    )
}}}

which gets rendered as https://i.imgur.com/jZpUHYN.png"	Bug	closed	contrib.admin	3.2	Normal	fixed	filter_horizontal, fieldsets, admin	Shubh Parmar	Ready for checkin	1	0	0	0	0	1
