-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix/issue 194/filter archived sessions by start time #202
Fix/issue 194/filter archived sessions by start time #202
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this fixed up!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this bug fixed up. Looking forward to archived sessions in the app for folks. This is going to be a great archival feature.
I went ahead and approved this. Looks good! It would be good to see if we need any basic test coverage for this endpoint but we can add a separate ticket for adding that testing. I don't want to hold up moving the front end forward. |
Pull Request Template
1. Targeted Issue
Issue #194: archive_sessions_list view was filtering by end time and returning an error.
2. Overview of Solution
I updated the filter to us start time instead of end time.
3. Tools Used
Filters and less than (__lt) logic
4. Testing Strategy
I added some past a future sessions and checked that the endpoint was returning the correct sessions.
5. Future Implications
Once this is on staging we can finish the front end archive sessions page.
6. Screenshots
n/a
7. Code Reviewers
Help navigating some backend issues from @GitLukeW and @esparr