mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
Pixiv: fix search repeats itself (#5149)
* Pixiv: fix search repeats itself * bump version
This commit is contained in:
parent
8f82087d1f
commit
68f1bc83cd
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Pixiv'
|
||||
extClass = '.PixivFactory'
|
||||
extVersionCode = 8
|
||||
extVersionCode = 9
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user