|
|
@@ -38,6 +38,7 @@ interface RssSourceDao {
|
|
|
where sourceName like '%' || :key || '%'
|
|
|
or sourceUrl like '%' || :key || '%'
|
|
|
or sourceGroup like '%' || :key || '%'
|
|
|
+ or sourceComment like '%' || :key || '%'
|
|
|
order by customOrder"""
|
|
|
)
|
|
|
fun flowSearch(key: String): Flow<List<RssSource>>
|
|
|
@@ -69,7 +70,8 @@ interface RssSourceDao {
|
|
|
where enabled = 1
|
|
|
and (sourceName like '%' || :searchKey || '%'
|
|
|
or sourceGroup like '%' || :searchKey || '%'
|
|
|
- or sourceUrl like '%' || :searchKey || '%')
|
|
|
+ or sourceUrl like '%' || :searchKey || '%'
|
|
|
+ or sourceComment like '%' || :searchKey || '%')
|
|
|
order by customOrder"""
|
|
|
)
|
|
|
fun flowEnabled(searchKey: String): Flow<List<RssSource>>
|