rss源搜索增加注释字段 (#4572)
This commit is contained in:
1 parent
38404b9135
commit
5b89df600b
1 file changed
+3
-1
@@ -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>>
|
||||
|
||||
Reference in new issue
Block a user