@@ -19,7 +19,7 @@ JOIN feeds ON articles.feed_id = feeds.id
19
19
JOIN article_statuses ON articles.id = article_statuses.article_id
20
20
WHERE ((article_statuses.read = :read AND article_statuses.last_read_at IS NULL OR article_statuses.last_read_at >= :lastReadAt) OR :read IS NULL)
21
21
AND (article_statuses.starred = :starred OR :starred IS NULL)
22
- AND (articles.title LIKE '%' || :query || '%' OR articles.summary LIKE '%' || :query || '%' OR :query IS NULL)
22
+ AND (articles.title LIKE '%' || :query || '%' OR articles.content_html LIKE '%' || :query || '%' OR :query IS NULL)
23
23
GROUP BY articles.id
24
24
ORDER BY articles.published_at DESC
25
25
LIMIT :limit OFFSET :offset;
@@ -30,7 +30,7 @@ FROM articles
30
30
JOIN article_statuses ON articles.id = article_statuses.article_id
31
31
WHERE ((article_statuses.read = :read AND article_statuses.last_read_at IS NULL OR article_statuses.last_read_at >= :lastReadAt) OR :read IS NULL)
32
32
AND (article_statuses.starred = :starred OR :starred IS NULL)
33
- AND (articles.title LIKE '%' || :query || '%' OR articles.summary LIKE '%' || :query || '%' OR :query IS NULL);
33
+ AND (articles.title LIKE '%' || :query || '%' OR articles.content_html LIKE '%' || :query || '%' OR :query IS NULL);
34
34
35
35
allByFeeds:
36
36
SELECT
@@ -54,7 +54,7 @@ JOIN article_statuses ON articles.id = article_statuses.article_id
54
54
WHERE articles.feed_id IN :feedIDs
55
55
AND ((article_statuses.read = :read AND article_statuses.last_read_at IS NULL OR article_statuses.last_read_at >= :lastReadAt) OR :read IS NULL)
56
56
AND (article_statuses.starred = :starred OR :starred IS NULL)
57
- AND (articles.title LIKE '%' || :query || '%' OR articles.summary LIKE '%' || :query || '%' OR :query IS NULL)
57
+ AND (articles.title LIKE '%' || :query || '%' OR articles.content_html LIKE '%' || :query || '%' OR :query IS NULL)
58
58
GROUP BY articles.id
59
59
ORDER BY articles.published_at DESC
60
60
LIMIT :limit OFFSET :offset;
@@ -65,7 +65,7 @@ FROM articles
65
65
JOIN article_statuses ON articles.id = article_statuses.article_id
66
66
WHERE articles.feed_id IN :feedIDs
67
67
AND ((article_statuses.read = :read AND article_statuses.last_read_at IS NULL OR article_statuses.last_read_at >= :lastReadAt) OR :read IS NULL)
68
- AND (articles.title LIKE '%' || :query || '%' OR articles.summary LIKE '%' || :query || '%' OR :query IS NULL)
68
+ AND (articles.title LIKE '%' || :query || '%' OR articles.content_html LIKE '%' || :query || '%' OR :query IS NULL)
69
69
AND (article_statuses.starred = :starred OR :starred IS NULL);
70
70
71
71
findArticleIDsByStatus:
0 commit comments