rss源搜索增加注释字段 (#4572)
This commit is contained in:
@@ -38,6 +38,7 @@ interface RssSourceDao {
|
|||||||
where sourceName like '%' || :key || '%'
|
where sourceName like '%' || :key || '%'
|
||||||
or sourceUrl like '%' || :key || '%'
|
or sourceUrl like '%' || :key || '%'
|
||||||
or sourceGroup like '%' || :key || '%'
|
or sourceGroup like '%' || :key || '%'
|
||||||
|
or sourceComment like '%' || :key || '%'
|
||||||
order by customOrder"""
|
order by customOrder"""
|
||||||
)
|
)
|
||||||
fun flowSearch(key: String): Flow<List<RssSource>>
|
fun flowSearch(key: String): Flow<List<RssSource>>
|
||||||
@@ -69,7 +70,8 @@ interface RssSourceDao {
|
|||||||
where enabled = 1
|
where enabled = 1
|
||||||
and (sourceName like '%' || :searchKey || '%'
|
and (sourceName like '%' || :searchKey || '%'
|
||||||
or sourceGroup like '%' || :searchKey || '%'
|
or sourceGroup like '%' || :searchKey || '%'
|
||||||
or sourceUrl like '%' || :searchKey || '%')
|
or sourceUrl like '%' || :searchKey || '%'
|
||||||
|
or sourceComment like '%' || :searchKey || '%')
|
||||||
order by customOrder"""
|
order by customOrder"""
|
||||||
)
|
)
|
||||||
fun flowEnabled(searchKey: String): Flow<List<RssSource>>
|
fun flowEnabled(searchKey: String): Flow<List<RssSource>>
|
||||||
|
|||||||
Reference in New Issue
Block a user