From 41cdf805548e44c19d0517309e89fa8e8823768b Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Mon, 13 Jan 2025 10:12:01 +0800 Subject: [PATCH] fix(opds2): keep reading feed incorrectly showing all books --- .../org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt index 144c728b..de26a49f 100644 --- a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt +++ b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt @@ -187,6 +187,7 @@ class Opds2Controller( SearchCondition.AllOfBook( buildList { if (library != null) add(SearchCondition.LibraryId(SearchOperator.Is(library.id))) + add(SearchCondition.ReadStatus(SearchOperator.Is(ReadStatus.IN_PROGRESS))) add(SearchCondition.MediaStatus(SearchOperator.Is(Media.Status.READY))) add(SearchCondition.Deleted(SearchOperator.IsFalse)) },