Hide read books from Discover. Resolves #2588#3555
Open
lpinner wants to merge 2 commits into
Open
Conversation
new-usemame
added a commit
to new-usemame/Calibre-Web-NextGen
that referenced
this pull request
May 9, 2026
…eczku #2588) (#112) Backports janeczku/calibre-web PR #3555 by @lpinner — Discover (Random Books) page now hides books the user has already marked as read. Resolves janeczku #2588 (filed 2021-12, multiple "me too" commenters). 16-LOC isolated read-status filter on render_discover_books, no auth/CSRF/migration touched. 6 regression tests pin the filter shape (both backends, coalesce wraps, fallback path). Original patch: janeczku/calibre-web#3555 Original issue: janeczku/calibre-web#2588 Author: @lpinner
|
For anyone landing here looking for a build that has this — backported cleanly into the community-maintained CWA continuation as v4.0.37: https://github.com/new-usemame/Calibre-Web-NextGen/releases/tag/v4.0.37 Pull: Thanks @lpinner — your patch applied unmodified, the coalesce on the read-status filter is the load-bearing detail (without it, books a user has never opened would NULL-compare and drop out of the result set entirely). Heads-up that the CWA-derived build adds auto-ingest, kepubify, and KOReader sync on top of stock calibre-web; default behavior matches stock CW for everything else. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hide read books from Discover. Resolves #2588.