diff --git a/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt b/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt index 331161f09..fa2d100c3 100644 --- a/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt +++ b/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt @@ -71,7 +71,7 @@ data class SearchScope(private var scope: String) { } } else { scope.splitNotBlank(",").forEach { - list.addAll(appDb.bookSourceDao.getByGroup(it)) + list.addAll(appDb.bookSourceDao.getEnabledByGroup(it)) } } if (list.isEmpty()) {