From 48eac4955e4593fe13a51d9da08fc78a375fa215 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 3 Oct 2019 16:26:38 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt b/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt index 8081068ed..f280c0fb9 100644 --- a/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt @@ -19,7 +19,7 @@ interface RssSourceDao { @Query("SELECT * FROM rssSources where sourceName like :key or sourceUrl like :key or sourceGroup like :key order by customOrder") fun liveSearch(key: String): LiveData> - @Query("SELECT * FROM rssSources where enabled = 1") + @Query("SELECT * FROM rssSources where enabled = 1 order by customOrder") fun liveEnabled(): LiveData> @Query("select sourceGroup from rssSources where sourceGroup is not null and sourceGroup <> ''")