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 GitHub
parent 8f82087d1f
commit 68f1bc83cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Pixiv'
extClass = '.PixivFactory'
extVersionCode = 8
extVersionCode = 9
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> {
val filters = filters.list as PixivFilters
val hash = Pair(query, filters).hashCode()
val hash = Pair(query, filters.toList()).hashCode()
if (hash != searchHash || page == 1) {
searchHash = hash