We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3077610 commit 6928b3fCopy full SHA for 6928b3f
graphene_django/filter/utils.py
@@ -86,8 +86,11 @@ def get_filtering_args_from_filterset(filterset_class, type):
86
form_field = form_field or filter_field.field
87
field_type = convert_form_field(form_field).get_type()
88
89
- if isinstance(filter_field, ListFilter) or isinstance(
90
- filter_field, RangeFilter
+ if (
+ isinstance(filter_field, ListFilter)
91
+ or isinstance(filter_field, RangeFilter)
92
+ or isinstance(form_field, forms.ModelMultipleChoiceField)
93
+ or isinstance(form_field, GlobalIDMultipleChoiceField)
94
):
95
# Replace InFilter/RangeFilter filters (`in`, `range`) argument type to be a list of
96
# the same type as the field. See comments in `replace_csv_filters` method for more details.
0 commit comments