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

Fix/issue 194/filter archived sessions by start time #202

Merged
merged 11 commits into from
Nov 17, 2023

Conversation

nzeager
Copy link
Member

@nzeager nzeager commented Nov 17, 2023

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

Copy link
Contributor

@GitLukeW GitLukeW left a 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!

@GitLukeW GitLukeW requested a review from esparr November 17, 2023 18:34
Copy link
Collaborator

@esparr esparr left a 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.

@esparr
Copy link
Collaborator

esparr commented Nov 17, 2023

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.

@esparr esparr linked an issue Nov 17, 2023 that may be closed by this pull request
@GitLukeW GitLukeW merged commit 4ef5959 into staging Nov 17, 2023
@GitLukeW GitLukeW deleted the fix/issue-194/filter-archived-sessions-by-start-time branch November 17, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎭 Staging
Development

Successfully merging this pull request may close these issues.

As a user, I would like to see archived sessions Filter archived sessions by start_time instead of end_time
3 participants