pull/32/head
kunfei 5 years ago
parent 065cbfc447
commit 4a1c9a2cad
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt

@ -14,7 +14,7 @@ interface BookSourceDao {
@Query("select * from book_sources where bookSourceName like :searchKey or `bookSourceGroup` like :searchKey or bookSourceUrl like :searchKey order by customOrder asc")
fun observeSearch(searchKey: String = ""): DataSource.Factory<Int, BookSource>
@Query("select * from book_sources where enabledExplore = 1 and exploreUrl is not null order by customOrder asc")
@Query("select * from book_sources where enabledExplore = 1 and exploreUrl is not null and exploreUrl <> '' order by customOrder asc")
fun liveExplore(): LiveData<List<BookSource>>
@Query("select bookSourceGroup from book_sources")

Loading…
Cancel
Save