fix wrong column name
This commit is contained in:
@@ -280,7 +280,7 @@ export class SearchService {
|
|||||||
.leftJoinAndSelect('reply.user', 'replyUser')
|
.leftJoinAndSelect('reply.user', 'replyUser')
|
||||||
.leftJoinAndSelect('renote.user', 'renoteUser');
|
.leftJoinAndSelect('renote.user', 'renoteUser');
|
||||||
|
|
||||||
query.andWhere('note.tsvector @@ websearch_to_tsquery(:q)', { q });
|
query.andWhere('note.tsvector_embedding @@ websearch_to_tsquery(:q)', { q });
|
||||||
|
|
||||||
if (opts.order === 'asc') {
|
if (opts.order === 'asc') {
|
||||||
query
|
query
|
||||||
|
|||||||
Reference in New Issue
Block a user