feat: finish search feature
This commit is contained in:
1 parent
e2161e62c3
commit
9ad0b51b29
6 files changed
+87
-20
No files matched your search
@@ -201,7 +201,6 @@ export const getPostsBySearchTerm = query({
|
||||
.withSearchIndex('search_by_content', q =>
|
||||
q.search('contentText', args.term)
|
||||
)
|
||||
.filter(q => q.eq(q.field('parentPostId'), undefined))
|
||||
.paginate(args.paginationOpts);
|
||||
|
||||
const postsWithUser = await getPostsWithUsers({ ctx, posts: posts.page });
|
||||
|
||||
Reference in new issue
Block a user