We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 218230a commit 6ee987dCopy full SHA for 6ee987d
server/src/services/feed.ts
@@ -326,9 +326,10 @@ export function FeedService() {
326
const searchKeyword = `%${keyword}%`;
327
const where = or(like(feeds.title, searchKeyword),
328
like(feeds.content, searchKeyword),
329
- like(feeds.summary, searchKeyword));
+ like(feeds.summary, searchKeyword),
330
+ like(feeds.alias, searchKeyword));
331
const feed_list = (await cache.getOrSet(cacheKey, () => db.query.feeds.findMany({
- where: admin ? where : and(where, eq(feeds.draft, 0)),
332
+ where: and(where, eq(feeds.draft, 0)),
333
columns: admin ? undefined : {
334
draft: false,
335
listed: false
0 commit comments