Skip to content

Hide read books from Discover. Resolves #2588#3555

Open
lpinner wants to merge 2 commits into
janeczku:masterfrom
lpinner:master
Open

Hide read books from Discover. Resolves #2588#3555
lpinner wants to merge 2 commits into
janeczku:masterfrom
lpinner:master

Conversation

@lpinner
Copy link
Copy Markdown

@lpinner lpinner commented Feb 3, 2026

Hide read books from Discover. Resolves #2588.

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
@new-usemame
Copy link
Copy Markdown

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: docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.37

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.

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.

Unread filter for Discover Books/Custom Filters per Page

2 participants