Skip to content

MultipleChoicesDropdownFilter doesn't work with list_editable on django-unfold>0.64.0 #1633

@ssyuzev

Description

@ssyuzev

Hello!
I have "location" ForeignKey field in my model.
Select2 filter returns an empty result when I use list_editable in the ModelAdmin.
I get xhr request to current page url in DevTools console when I click on such filter.
Everything works fine on Unfold version <= 0.64.0

    list_editable = ("location",)
    list_filter = (
        ("location__name", LocationTextFilter),
        ("location__name", MultipleChoicesDropdownFilter),
    )

Unfold v.0.68.0
Django: v.5.2.7

Browsers:
Chrome (v. 141.0.7390.109)
Firefox (v. 144.0)

Did you checked changelog/commit history, if the bug is not already fixed?

Yes

Did you searched other issues, if the bug is not already fixed?

Yes

Did you checked documentation?

Yes

Repository with reproduced bug

https://github.com/ssyuzev/unfold_demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions