TMOHentai - fix search (#3500)
This commit is contained in:
parent
1b1cc53782
commit
db5ba4163f
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: TMOHentai'
|
||||
pkgNameSuffix = 'es.tmohentai'
|
||||
extClass = '.TMOHentai'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ class TMOHentai : ParsedHttpSource() {
|
|||
url.addQueryParameter("search[searchText]", query)
|
||||
url.addQueryParameter("page", page.toString())
|
||||
|
||||
filters.forEach { filter ->
|
||||
(if (filters.isEmpty()) getFilterList() else filters).forEach { filter ->
|
||||
when (filter) {
|
||||
is Types -> {
|
||||
url.addQueryParameter("type", filter.toUriPart())
|
||||
|
|
Loading…
Reference in New Issue