-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
When filtering a data model with field status and multiple potential status options (of type StrEnum) such as ACTIVE, INACTIVE, the admin panel fetches something like GET /admin/api/list/DataModel?status__in=active&status__in=inactive.
Issues I see here:
- When submitting multiple query parameters, only the last query parameter (
status__in=inactive) is recognized inrequest.query_params. - The query params should be shaped either in the form of
status__in=['active', 'inactive']or in the form ofstatus=active&status=inactive - Because the query param is
status__in=inactiveand notstatus=inactive, the appended__inis treating my enuminactiveas an array of characters, and the query is failing, resulting in a 404.
Metadata
Metadata
Assignees
Labels
No labels