search for in progress and unread when unread only is selected (#7141)

This commit is contained in:
Gauthier 2021-05-21 20:38:58 +08:00 committed by GitHub
parent c9253fab0e
commit aeae87d57f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
## 1.2.26
Minimum Komga version required: `0.87.4`
### Fix
* show series with only in progress books when searching for unread only
## 1.2.25
Minimum Komga version required: `0.87.4`
@ -6,7 +14,6 @@ Minimum Komga version required: `0.87.4`
* sort order for read list books
## 1.2.24
Minimum Komga version required: `0.87.4`

View File

@ -5,7 +5,7 @@ ext {
extName = 'Komga'
pkgNameSuffix = 'all.komga'
extClass = '.KomgaFactory'
extVersionCode = 25
extVersionCode = 26
libVersion = '1.2'
}

View File

@ -72,6 +72,7 @@ open class Komga(suffix: String = "") : ConfigurableSource, HttpSource() {
is UnreadOnly -> {
if (filter.state) {
url.addQueryParameter("read_status", "UNREAD")
url.addQueryParameter("read_status", "IN_PROGRESS")
}
}
is LibraryGroup -> {