Fix smart search algorithm not using smart queries
This commit is contained in:
parent
801fd83649
commit
9cfcacf45e
@ -29,7 +29,7 @@ class SmartSearchEngine(parentContext: CoroutineContext,
|
|||||||
async(Dispatchers.Default) {
|
async(Dispatchers.Default) {
|
||||||
val builtQuery = if(extraSearchParams != null) {
|
val builtQuery = if(extraSearchParams != null) {
|
||||||
"$query ${extraSearchParams.trim()}"
|
"$query ${extraSearchParams.trim()}"
|
||||||
} else title
|
} else query
|
||||||
|
|
||||||
val searchResults = source.fetchSearchManga(1, builtQuery, FilterList()).toSingle().await(Schedulers.io())
|
val searchResults = source.fetchSearchManga(1, builtQuery, FilterList()).toSingle().await(Schedulers.io())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user