modified internal/db/article.go +1 -1
| @@ -472,7 +472,7 @@ func (s *ArticleStore) SearchArticles(ctx context.Context, userDID, query string |
| 472 | 472 | COALESCE(lc.cnt, 0), |
| 473 | 473 | COALESCE(ul.liked, 0) |
| 474 | 474 | FROM ( |
| 475 | | - SELECT rowid, rank FROM articles.articles_fts WHERE articles.articles_fts MATCH ? |
| 475 | + SELECT rowid, rank FROM articles.articles_fts WHERE articles_fts MATCH ? |
| 476 | 476 | ) ft |
| 477 | 477 | JOIN articles.articles a ON a.id = ft.rowid |
| 478 | 478 | JOIN articles.subscriptions s ON a.feed_url = s.feed_url AND s.user_did = ? |
| @@ -472,7 +472,7 @@ func (s *ArticleStore) SearchArticles(ctx context.Context, userDID, query string |
| 472 | COALESCE(lc.cnt, 0), | 472 | COALESCE(lc.cnt, 0), |
| 473 | COALESCE(ul.liked, 0) | 473 | COALESCE(ul.liked, 0) |
| 474 | FROM ( | 474 | FROM ( |
| 475 | - SELECT rowid, rank FROM articles.articles_fts WHERE articles.articles_fts MATCH ? | 475 | + SELECT rowid, rank FROM articles.articles_fts WHERE articles_fts MATCH ? |
| 476 | ) ft | 476 | ) ft |
| 477 | JOIN articles.articles a ON a.id = ft.rowid | 477 | JOIN articles.articles a ON a.id = ft.rowid |
| 478 | JOIN articles.subscriptions s ON a.feed_url = s.feed_url AND s.user_did = ? | 478 | JOIN articles.subscriptions s ON a.feed_url = s.feed_url AND s.user_did = ? |