Pixiv: fix search repeats itself (#5149)

* Pixiv: fix search repeats itself

* bump version
This commit is contained in:
lamaxama 2024-09-22 14:42:20 +08:00 committed by Draff
parent 38a6e8b12b
commit a2917fa1f0
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Pixiv' extName = 'Pixiv'
extClass = '.PixivFactory' extClass = '.PixivFactory'
extVersionCode = 8 extVersionCode = 9
isNsfw = true isNsfw = true
} }

View File

@ -86,7 +86,7 @@ class Pixiv(override val lang: String) : HttpSource() {
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> { override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> {
val filters = filters.list as PixivFilters val filters = filters.list as PixivFilters
val hash = Pair(query, filters).hashCode() val hash = Pair(query, filters.toList()).hashCode()
if (hash != searchHash || page == 1) { if (hash != searchHash || page == 1) {
searchHash = hash searchHash = hash