Skip to content

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.

2 participants