-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add option to filter reading stats by year read #10679
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
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.
Nice work @RedJade26 ! A few fixes / comments for you, and one small change in requirements. Let me know if you have any questions!
Co-authored-by: Drini Cami <[email protected]>
Co-authored-by: Drini Cami <[email protected]>
Co-authored-by: Drini Cami <[email protected]>
Co-authored-by: Drini Cami <[email protected]>
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.
Works like a charm, thank you @RedJade26 !
Added filter by year dropdown to the "already read" stats page. Fixing a previous PR by using year_breadcrumb_select.html
Closes #10648
Adding dropdown to readinglog stats page so the user can be filtered by yearTechnical
Edited the stats GET request in the mybooks.py file to also process the year that each book was read. I also edited the readinglog_stats.html template page to add in the year drop down and properly change the URL endpoint to filter the books.
Testing
docker compose run --rm home make test
tested on my localhost -screenshots below
Screenshot
Stakeholders
@cdrini