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

Update author stats correctly, and show plurality #242

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

redrun45
Copy link
Collaborator

Replaces #14 - we may as well benefit from fixing the in-progress statistic, and showing plurality for "book" vs "books". Removing the statistics line isn't something we're sure we want. Better to add to it instead, when we get around to that. 😉

redrun45 and others added 2 commits September 10, 2024 20:53
When updating the book statistics, also update those authors that don't
have any books at all. Without this extra cleanup, these authors will
keep the previous count of their books, which is wrong.

Co-authored-by: Roland Illig <roland.illig@gmx.de>
Co-authored-by: Roland Illig <roland.illig@gmx.de>
@redrun45
Copy link
Collaborator Author

I think this should cover those comments! I was just focused on getting @rillig's work into the code-base, now that I am sure I understand what it was doing. I didn't want to mess with a scheduled job until I had to, otherwise. 😄

@notartom notartom merged commit 4defd13 into LibriVox:master Sep 11, 2024
1 check passed
@redrun45 redrun45 deleted the fix-author-stats branch September 13, 2024 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants