rss源搜索增加注释字段 (#4572)

This commit is contained in:
niuhb
2025-01-25 10:06:56 +08:00
committed by GitHub
parent aa70f71549
commit 83507d153e
@@ -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>>