mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-27 03:27:51 +02:00
Fix smart search algorithm not using smart queries
This commit is contained in:
@ -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())
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user