Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fixed dynamic filters for start_at and end_at in ListResults API #1998

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

alexjustesen
Copy link
Owner

📃 Description

This PR fixes the filtering results on api/v1/results and point where the created_at date filter was not correctly aliased to allow for a range.

You can now filter this endpoint using start_at and end_at, both params are optional and expect a date or datetime.

🪵 Changelog

➕ Added

  • start_at and end_at aliases for created_at so results can be correctly filtered by date range.

🗑️ Removed

  • updated_at date filter, not needed IMO

@alexjustesen alexjustesen added the 🐛 bug Something isn't working label Jan 18, 2025
@alexjustesen alexjustesen self-assigned this Jan 18, 2025
@alexjustesen alexjustesen merged commit a3b3ef9 into main Jan 18, 2025
1 check passed
@alexjustesen alexjustesen deleted the fixed-list-results-date-filter branch January 18, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant