diff --git a/server/src/services/feed.ts b/server/src/services/feed.ts index a9fa2d2b..3e64a84c 100644 --- a/server/src/services/feed.ts +++ b/server/src/services/feed.ts @@ -326,9 +326,10 @@ export function FeedService() { const searchKeyword = `%${keyword}%`; const where = or(like(feeds.title, searchKeyword), like(feeds.content, searchKeyword), - like(feeds.summary, searchKeyword)); + like(feeds.summary, searchKeyword), + like(feeds.alias, searchKeyword)); const feed_list = (await cache.getOrSet(cacheKey, () => db.query.feeds.findMany({ - where: admin ? where : and(where, eq(feeds.draft, 0)), + where: and(where, eq(feeds.draft, 0)), columns: admin ? undefined : { draft: false, listed: false