-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
We are in the need to filter stories according their published date. The "published_at" field is a native field in Storyblok and thus not filterable by gt_date or lt_date operations.
Expected Behavior
It is possible to use these query parameters from the Storyblok API:
- published_at_gt
- published_at_lt
- first_published_at_gt
- first_published_at_lt
- updated_at_gt
- updated_at_lt
Current Behavior
The possible query parameters are currently hardcoded in the StoriesRequest. It is not possible to bypass any other parameter which the Storyblok API supports.
See also #34.
Current workaround: No workaround possible as StoriesRequest is declared as final and thus we have no way to modify this class on our own. We can't use the SDK due to this problem for now. For any other issues we have found workarounds.
Steps to Reproduce
Try to filter stories according their published date with the SDK.
Metadata
Metadata
Assignees
Labels
No labels